Created: 2014-05-19 05:50
Updated: 2014-05-20 21:52
License: mit

Ruby on Rails Tutorial: sample application

This is the sample application for Ruby on Rails Tutorial: Learn Web Development with Rails by Michael Hartl. You can use this reference implementation to help track down errors if you end up having trouble with code in the tutorial. In particular, as a first debugging check I suggest getting the test suite to pass on your local machine:

$ cd /tmp
$ git clone
$ cd sample_app_rails_4
$ cp config/database.yml.example config/database.yml
$ bundle install --without production
$ bundle exec rake db:migrate
$ bundle exec rake db:test:prepare
$ bundle exec rspec spec/

If the tests don't pass, it means there may be something wrong with your system. If they do pass, then you can debug your code by comparing it with the reference implementation.

Get Started in seconds on Nitrous.IO

Nitrous.IO is a cloud-based platform that will let you start working on this project in a matter of seconds.

Click on the button below to get started:

Hack railstutorial/sample_app_rails_4 on Nitrous.IO

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more