Skip to content

railstutorial/sample_app_2nd_ed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e59c4fc · Jul 29, 2017
Jun 17, 2013
Aug 6, 2013
Mar 8, 2012
Mar 8, 2012
Nov 30, 2013
Apr 20, 2012
Mar 8, 2012
Mar 8, 2012
Apr 20, 2012
Jul 16, 2013
Mar 8, 2012
Oct 20, 2013
Mar 8, 2012
Dec 4, 2013
Dec 4, 2013
Apr 18, 2012
Mar 6, 2013
Jul 29, 2017
Mar 8, 2012
Mar 8, 2012

Repository files navigation

Ruby on Rails Tutorial: sample application

This repository is out of date and is no longer maintained. Please see the Rails Tutorial Help page for the most up-to-date version.

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 [email protected]:railstutorial/sample_app_2nd_ed.git
$ cd sample_app_2nd_ed
$ cp config/database.yml.example config/database.yml
$ bundle install
$ 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.

About

The Rails Tutorial Sample App, 2nd Edition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published