demo app from http://ruby.railstutorial.org/ (chapter 2)