Ruby on rails app tutorial http://www.railstutorial.org/book/beginning