Chapter 2 of Ruby on Rails Tutorial by Hartl