sample_app from ruby.railstutorial.org