Ruby on Rails 2.1 was released this past week at the annual Ruby on Rails conference, RailsConf. This year the event was held in Portland, OR and the announcement came as many people expected.
The announcement was made official by Jeremy Kemper, Rails core team member, at the end of his talk at RailsConf. Details of the release are outlined on the Riding Rails blog and include the following:
None of these features stand out as the killer feature for this release but instead represents a group of steady, solid improvements focusing on pain points for many developers. Installing the update is straightforward and should go without issues.Rails 2.1 is now available for general consumption with all the features and fixes we’ve been putting in over the last six months since 2.0. This has been a huge effort by a very wide range of contributors helping to make it happen.
Over the past six months, we’ve had 1,400 contributors creating patches and vetting them. This has resulted in 1,600+ patches. A truly staggering number. And lots of that has made it into this release.
New features
The new major features are:
- Time zones (by Geoff Buesing): Tutorial | Introdction | Railscast
- Dirty tracking: Introduction (partial updates) | Railscast
- Gem Dependencies: Introduction | Railscast
- Named scope (by Nick Kallen): Introduction | Railscast
- UTC-based migrations: Introduction | Railscast
- Better caching: Introduction
Thanks to Ryan Daigle for the feature introductions and Ryan Bates for the Railscasts. It makes writing the release notes so much easier :).
As always, you can install with:
gem install rails
...or you can use the Git tag for 2.1.0.
The announcement includes Railscasts to show the main new updates which gives developers a visual look at what is new, before they update their Rails installations.
More information about this release are available on the Ruby on Rails web site.
Community comments
Thanks god
by Jacky Li,
Re: Thanks god
by Eric Pugh,
Re: Thanks god
by Robert Bazinet,
Killer features?
by Maximilian Schulz,
Thanks god
by Jacky Li,
Your message is awaiting moderation. Thank you for participating in the discussion.
there aren't any killer features in this release...
Re: Thanks god
by Eric Pugh,
Your message is awaiting moderation. Thank you for participating in the discussion.
I disagree.. I think the time zone stuff is amazing. Any time you build a web app that shows when things happen, and have more then one timezone, life gets very hard. And I think the time zone support that Ruby has is pretty rough (www.opensourceconnections.com/2007/04/09/figuri.... So putting a great timezone layer into Rails seems to me to be one of those great "Why I use Rails: Time Zones!" kind of features.
Re: Thanks god
by Robert Bazinet,
Your message is awaiting moderation. Thank you for participating in the discussion.
Well, this is a killer feature for someone needing it but it is not a huge feature for everyone, only when it's a pain point for some users. Each feature here seems to be that type of update, but that is my opinion.
Killer features?
by Maximilian Schulz,
Your message is awaiting moderation. Thank you for participating in the discussion.
Probably there are no killer features, but they really help a distributed development team. Especially the "gem dependencies" and the "utc-based migrations" will make things much easier as soon as more than one developer is working on a project (as well as deployment).
Personally, my favorite feature are "named scopes" (aka has_finder). I love them! ;)