Go to file
Seth Call fd4fcd3071 * nm; not going to run websocket gateway from within web app 2012-09-01 16:50:45 -05:00
app * getting ready to create a easy websocket starter mechanism that starts websocket whenever you run jam-web 2012-09-01 16:12:02 -05:00
config * nm; not going to run websocket gateway from within web app 2012-09-01 16:50:45 -05:00
db * removed all microposts/follower stuff; just user sign up and login 2012-08-30 22:01:52 -05:00
doc * initial web commit 2012-08-30 21:09:02 -05:00
features * removed all microposts/follower stuff; just user sign up and login 2012-08-30 22:01:52 -05:00
lib * removed all microposts/follower stuff; just user sign up and login 2012-08-30 22:01:52 -05:00
log * initial web commit 2012-08-30 21:09:02 -05:00
public * removed all microposts/follower stuff; just user sign up and login 2012-08-30 22:01:52 -05:00
script * removed all microposts/follower stuff; just user sign up and login 2012-08-30 22:01:52 -05:00
spec * ok tests finally working. focused on websocket example next 2012-09-01 15:24:51 -05:00
test * initial web commit 2012-08-30 21:09:02 -05:00
vendor * initial web commit 2012-08-30 21:09:02 -05:00
.gitignore * getting ready to create a easy websocket starter mechanism that starts websocket whenever you run jam-web 2012-09-01 16:12:02 -05:00
.rvmrc * removed all microposts/follower stuff; just user sign up and login 2012-08-30 22:01:52 -05:00
Gemfile * nm; not going to run websocket gateway from within web app 2012-09-01 16:50:45 -05:00
Gemfile.lock * half way done getting tests repaired for removal of followers/microsposts 2012-08-30 22:34:11 -05:00
Guardfile * removed all microposts/follower stuff; just user sign up and login 2012-08-30 22:01:52 -05:00
ORIG_LICENSE * removed all microposts/follower stuff; just user sign up and login 2012-08-30 22:01:52 -05:00
README.md * removed all microposts/follower stuff; just user sign up and login 2012-08-30 22:01:52 -05:00
Rakefile * removed all microposts/follower stuff; just user sign up and login 2012-08-30 22:01:52 -05:00
config.ru * removed all microposts/follower stuff; just user sign up and login 2012-08-30 22:01:52 -05:00

README.md

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 git@github.com:railstutorial/sample_app_2nd_ed.git
$ cd sample_app_2nd_ed
$ 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.