sample_app from http://ruby.railstutorial.org