Book of Rails, 2nd edition, chapter 2 example