RoR tutorial for chapter 2