sample_app from railstutorials.org