App from railstutorial book - chapter 2