simple application from railstutorial.org