Chapter 2 demo_app in RailsTutorial