RoR tutorial, chapter 2