Search code examples
ruby-on-railsrubyruby-on-rails-3githubruby-on-rails-3.1

git checkout code until chapter 8 of Michael Hart's book


I have been to trying to learn ruby on rails tutorial from http://ruby.railstutorial.org/ruby-on-rails-tutorial-book

I completed chapter 8 , but along the way I made some errors in my rpsec and the controller.
I should have updated my git repo regularly, but I did not. Is there a way I can checkout the code until Chapter8 of the book?

I want to continue to practice from Chapter 9, but I want to make sure I have the correct code until chapter 8.


Solution

  • You can download full repository of this tutorial directly from Github.

    Do the following steps:

    1. mkdir new_dir_name create a new directory
    2. inside this directory : git clone [email protected]:railstutorial/sample_app.git

    result: you will find the source code in your directory and then you can continue.