sample app from http://ruby.railstutorial.org/