Application from www.railstutorial.org/book, chapter 2