Chapter 2 of Ruby on Rails 3 Tutorial