Rails tutorial from Michael Hartl http://ruby.railstutorial.org/chapters/a-demo-app?version=3.2