Ruby on Rails Tutorial sample Application, chapter 3.