sample app as described in http://www.railstutorial.org/book