Best two books you should get:The Rails Way
, by Obie Fernandez The Ruby Programming Language
, by "Matz" ... who happen to be the guy who wrote the Ruby language.
I have Agile Web Development with Rails, 2nd Ed. It is already outdated, and does not contain nearly as much information as The Rails Way
. Furthermore, some people may suggest you getting the Pragmatic Programmer's Programming Ruby
book ... don't. Both books were good when they came out, but now there are much better books out there. And yeah, I have all of these books and have worked through them. These days, I use The Rails Way
and The Ruby Programming Language
However, one additional book you will want to consider getting -- and this one is indeed from Pragmatic Publisher:Pragmatic Version Control Using Git
... as you will need some familiarity with it if you want to get the most out of Rails (considering all the different plugins that are available).
Lastly, if you are a visual person (and even if you are not), it is worth checking out http://peepcode.com
... The latter is free, and is a place you should go next after mastering Rails and Ruby basics.