Ruby on Rails Tutorial - by Michael Hartl is a great book you should buy it to support him.