sample_app from railstutorial.org