Chapter 2 of the Ruby on Rails Tutorial (http://ruby.railstutorial.org/chapters/a-demo-app#top)