sample app from railstutorial.org