For chapter 3 of the Ruby on Rails Tutorial