Rails 3.0 Released (And 22 Free Videos To Bring You Up To Speed)
Rails 3.0 has been underway for a good two years, so it’s with immense pleasure that we can declare it’s finally here. We’ve brought the work of more than 1,600 contributors together to make everything better, faster, cleaner, and more beautiful.
David Heinemeier Hansson
DHH rings the bell and announces that Rails 3.0 (final) has been released after two years of determined effort by the Rails core team (and, significantly, Merb team members, since Rails 3.0 is heavily influenced by the Merb merger). Grab it now with gem install rails --version 3.0.0
or, if you're in no rush, Rails 3.0.1 might come along within a week or two.
The Videos
DHH gives a quick roundup of some of Rails 3's new features but like Emma Watson's head PhotoShopped onto yet another naked body, it's nothing you haven't seen before. If you're really fresh to Rails 3.0, though, Gregg does an admirable job of boiling everything down into a digestible format with his (free!) Dive Into Rails 3.0 screencast series:
- Getting Started and Action Dispatch
- Bundler and Action Mailer
- Active Relation and Active Model
- Cross-site scripting and Unobtrusive JS
- The New Action Controller
Ryan Bates has also produced a fistful of his typically succinct but precise RailsCasts videos on a wide array of Rails 3.0 topics. Ryan always focuses on code and practicalities so these are a good place to start if you want to follow along and do some coding yourself:
- Upgrading to Rails 3.0: Part 1, Part 2 and Part 3
- Routing in Rails 3
- Active Record Queries in Rails 3
- Advanced Queries in Rails 3
- Controllers in Rails 3
- Rack in Rails 3
- Subdomains in Rails 3
- Active Model
- Generators in Rails 3
- Making Generators in Rails 3
- Validations in Rails 3
- ERB Blocks in Rails 3
- Action Mailer in Rails 3
- XSS Protection in Rails 3
- Bundler
If you don't like videos, still follow the links, because there are links to the ASCIIcasts regular HTML versions of the Railscasts videos. These are regular blog posts that you can follow at your own pace.
Or some books
Michael Hartl's Rails Tutorial book is the #1 (and only, in my opinion) place to start when it comes to books about learning Rails 3.0. Not only is it available to read for free online, but you can buy a well formatted PDF too. It's an amazing piece of work and, unusually, walks you through building a Rails app from start to finish with testing. If you want to just read one book/site and feel like a Rails 3.0 master by the end of it, pick RailsTutorial.org.
Update: There are now also 15+ hours of Rails Tutorial screencasts. They're commercial but make for great viewing and are the best way to get an "over the shoulder" experience of how an experienced developer builds a Rails 3 from start to finish.
If you speak German, though, check out this "Ruby on Rails 3" book by Michael Voigt and Stefan Tennigkeit. It's one of the first Rails 3.0 specific books to hit the presses.
Or just dive into some code
If you want to just "get started" and check out a working Rails 3.0 application, try Daniel Kehoe's Rails3-Subdomain-Devise app. It's a basic Rails 3.0 app that demonstrates using the Devise authentication system, as well as custom subdomain access. Not just that, but Daniel has put together a walkthrough of how the app works and how it was put together.
August 30, 2010 at 1:21 am
Great, I was putting off learning rails until 3.0 came out so this is a big day for me. Can't wait to get started, I might look at that rails tutorial / book.
August 30, 2010 at 1:24 am
@Frog: It's great! BTW, enjoyed the last few posts on your blog, some good insights about learning Ruby.
August 30, 2010 at 2:22 am
Here is one more app for learning Rails 3.0. I am also posting the Rails 2.3.8 code which was used as a bridge. Can't believe it is already obsolete (I used Rails 3 RC2). Oh well, this is Rails we are talking about
http://github.com/bruparel/file_manager238
http://github.com/bruparel/file_manager3
Enjoy.
Bharat
August 30, 2010 at 12:43 pm
I'm in conflict with two feeling... one is great bring us up new rails version the other is it is painful migrate large projects to new version ...
Btw thank everyone o/
August 30, 2010 at 10:10 pm
Great list. We also put out a series of screencasts on upgrading a real world 2.3 app to rails 3.0: http://bddcasts.com/series/urlagg/episodes
September 2, 2010 at 2:01 pm
hey Peter,
Remember "CouchDB + Ruby: Perform like a pr0n star"? I think your post would be easier to read for a lot of people if you took out the reference to Emma Watson. Not censorship or political correctness, doing this would just widen your audience.
Best,
Seamus
September 2, 2010 at 7:05 pm
I appreciate your concern, but people who would take offense at turns of phrase that would be acceptable in even The Times (London) are not my target audience. Like a growing number of British writers, I believe that lowbrow humor and metaphors make dry content easier to process, even in semi-formal contexts.
Perhaps my point here, then, is just to demonstrate I did give this some thought before publishing and I don't regret the decision.
September 3, 2010 at 3:49 pm
Has anybody done any benchmarking, and is rails 3 faster?