lastapp2 fellowing ruby on rails tutorial chapter 2 from http://www.railstutorial.org/book/demo_app#cha-a_demo_app