3 ms·
The most up-to-date book is the free Rails Tutorial http://railstutorial.org http://railstutorial.org, which will be updated to Rails 3 soon after it's final is
by milesf 16y ago
The most up-to-date book is the free Rails Tutorial http://railstutorial.org http://railstutorial.org, which will be updated to Rails 3 soon after it's final is released.
If you have an older book using an older version of rails, DON'T use Rails 3, use the version used in your book (DHH mentioned this on an episode of coderpath http://coderpath.com/posts/1 http://coderpath.com/posts/1)
- mhartl 16y agoThere's actually a semi-secret version of the Ruby on Rails Tutorial book already updated for Rails 3.0.0.rc: http://railstutorial.org/book?version=3.0.0.rc http://railstutorial.org/book?version=3.0.0.rc Shhh... Don't tell anyone! :-) (The official release of the Ruby on Rails 3 Tutorial book should happen some time in the next couple weeks, probably slightly ahead of the official Rails 3.0 release. Of course, the tutorial will also be updated after Rails 3.0 final drops.)
- philwelch 16y agoNow I have to start the tutorial all over again...but thanks! This should be a lot easier than looking up for myself how Rspec 2 works and so forth.
- matwood 16y agoJust so you know, Rails 3 RC plus all the associated dependencies with rspec now core dump on integration ('requests') tests even though controller testing works fine. It looks like there is a webrat/rspec usage issue. I assume they'll get it fixed in a few days.
- mhartl 16y agoI'm glad to know it's not just me. The tutorial book pins RSpec down to 2.0.0.beta.18 for just this reason. (It looks like 2.0.0.beta.19 is the one that has the problem.) Of course, I'll update the tutorial with the latest RSpec version once they fix this issue.
- matwood 16y agoHere's the rspec ticket to keep an eye on: http://github.com/rspec/rspec-rails/issues#issue/140 http://github.com/rspec/rspec-rails/issues#issue/140
- mhartl 16y agoThank you—this is very helpful.
- matwood 16y agoWhile you're here :) I wanted to say that your book/tutorial is really well done. I was working through the 2.0 version and simply figuring out what needed to happen for 3.0. Thanks for the link to the 3.0 version. I'll let you know if I any problems or confusing parts.