Blog Post RSS ?

Blogs » Ruby on Rails » Rails 2.1 release candidate 1 is on its way
 

Rails 2.1 release candidate 1 is on its way

by Myles Eftos

Word out on the wire is that Rails 2.1 RC1 has been tagged in the repository, so the gems should be available shortly. Being a point release, the changes aren’t major – mainly bug fixes and some performance improvements, but there are still some new features that will make it worth a look.

Updated timezone support

Timezones will finally become a first class citizen in Rails. You will be able to set the timezone, and all subsequent time calls will be with in that zone.


Time.zone = "Australia/Perth"
Time.zone.now # will return something like Wed, 24 May 2008 22:56:00 WST +08:00

Better Gem dependencies

If you rely on gems in any of your projects (and why wouldn’t you? Code re-use and all that), you may have come across the pain of gem versioning. Rails 2.1 will allow you to stipulate what versions of each gem you need.


config.gem "chronic", :version => '0.2.3'

It also adds a rake task that will automatically install the right gems for you.


rake gems:unpack

Improved caching

Previously, the only caching options Rails developers had was based around file fragments, which is fine for single server setups – but scaling that up to multiple servers could cause synchronisation issues, causing your cache to go stale. To combat this, you can now use a number of other shared caching systems including a memory store, drb store and a mem-cache store.

All very exciting stuff, and well worth a checking out. If you can download the beta gems by running the following from your trusty terminal window:


gem install rails –source http://gems.rubyonrails.com/
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Ping.fm
  • Twitthis

Related posts:

  1. Famous Rails Screencast Gets an Update When Ruby on Rails was first introduced, nothing helped put...
  2. Top Ruby Frameworks Rails and Merb Join Forces It's not every day that two essentially competing web development...
  3. Free PHP Webinar: How to Increase Performance with Caching Zend are running a free webinar today, with a live...
  4. How to Test Multiple Websites on One PC With Apache Virtual Hosts Testing one website on your local web server is easy....
  5. FullCodePress: WordPress vs Rails Raena and Matt are on the ground at the FullCodePress...

This post has 2 responses so far

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Follow SitePoint on...