This is the completed application from the official Getting Started with Rails guide. There are a few small changes:
http_basic_authenticate_with
was removed to simplify and make testing easier- Test::Unit and Fixtures were replaced with RSpec and FactoryBot
- Some seed data was added to make testing easier
Assuming you have a local version of Ruby, run:
$ bundle install
$ rake db:setup
$ rails server
Navigate to http://localhost:3000/articles in your browser. You should see a list of 30 articles with auto-generated text from Faker::Hipster. Every 4th article (Article 0, Article 4, Article 8, etc) should have between 1 and 3 comments on it as well.