demo app from chapter 2 of http://www.railstutorial.org/book/demo_app#cha-a_demo_app