sample app from Rails_tutorial