It appears that, after a short release candidate period, Rails 2.0 (.1) final has now been released. In celebration of such an event, I’ve compiled a list of all the features of Rails 2 that I’ve written about so far. Soak it in, baby.
Though I’ve made my best effort to keep all the feature descriptions up-to-date, I can’t guarantee their complete accuracy. For a more exhaustively and thoroughly vetted list of features presented in a more refined manner you may just have to suck it up and buy the Peepcode min-book PDF on Rails 2. “It’s good stuff”, says the author!
Major Rails 2 Features and Changes
(sorted by date added)
- ActionMailer::Base.server_settings Deprecated
- 1.month.from_now.no_longer.effed
- Source Code Annotations
- A Better Way to Access Your Helpers
- Stop Littering In Your Environment File
- ActiveRecord Caching Provided in Actions
- Cookie Based Sessions are the New Default
- Expanded Caching Scope
- .rhtml and .rxml to Die a Slow and Painful Death
- Mime::Type Convenience Methods
- ActiveRecord Explicit Caching
- RESTful Routes Get a New Custom Delimiter
- Object Transactions Are Out
- ActiveResource Gets Custom Methods
- render Now 70% More Betterer
- A More Flexible to_xml
- New Database Rake Tasks
- validates_numericality_of Gets Pimped
- ActiveResource Finder Update and Custom Headers
- RESTful Routing Updates
- Bringin’ Sexy Back
- No More (conventional) Pagination
- Collection Fixtures
- Use Rake to List Your Routes
- Partials Get Layouts
- Your DB Adapter May Have Left the Building
- Logging Gets a Little Snappier
- Better Cross-Site Request Forging Prevention
- Better Exception Handling
- Specify Plugin Load Ordering
- Validations Now :allow_blank
- Fixtures Just Got a Whole Lot Easier
- Filters get Tweaked
- Pre-Environment Load Hook
For another great feature overview, check out the official rails blog announcement.
Anybody ready for Rails 3?
tags: ruby, rubyonrails

Not too fast, there’s a pretty serious bug in the 2.0 tag that’s resulted in a 2.0.1 tag prior to public release: http://dev.rubyonrails.org/changeset/8329
Yup it looks like it’ll be released as 2.0.1 due to the query cache bug. And it’s not released until the gems are available I imagine (or as they like to say, “photo or it didn’t happen”), but I have a feeling it’s happening today. DHH and co are probably preparing for it right now.
Anyway, nice list Ryan. Except you forgot to mention the parity of JSON serialization (like the stuff you mention in “A More Flexible to_xml”) as a major feature :(
Sorry Chu, I can’t catch em all!
You can now say it’s really released: http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done :)
Just kidding (about the sad smiley) – there’s just so many new changes in Rails 2.0 no one can really catch them all in a short blog post.
smart pointers are C++ objects that simulate simple pointers by implementing operator-> and the unary operator*.
These posts do helped me a lot! Congratulations!
I invite everybody to take a look at a screencast I’ve compiled yesterday. This is the classic Blog app built using Rails 2.0. I think it is the First Rails 2.0 full featured screencast around.
See it here
man, I just got my Rails Space book a few days ago, now it’s outdated :-( Gotta keep up with edge repository huh
very good article … i have linked it on my blog webdevbros.net
with Ryan’s permission, a Chinese translate of Rails 2 series is being published at
http://yudionrails.com/2007/12/17/rails-2-0-final-released-summary-of-features
thanks ryan.. you have really saved my time for research and development on rails 2.0