Ruby on rails tutorial walkthrough: http://ruby.railstutorial.org/chapters