sample app from the railstutorial.org by michael hartl