sample_app by railstutorial