Sample application from railstutorial.org