Chapter 2 app from railstutorial