chapter 3 from RoR 'book'