first_app from railstutorial.org