Ruby on Rails upgrade released

Popular Web framework gets improved support for HTTP validators as well as an internalization framework

Ruby on Rails 2.2, an upgrade to the popular Web application framework, was released Friday, featuring an internationalization framework and stronger support for HTTP validators, according to the Ruby on Rails Web site.

With a full-on internationalization framework, internationalization is offered by default. Support for HTTP validators is provided in the form of etag and last-modified, according to the site. This can make it easier to skip expensive processing and also makes it easier to use gateway proxies.

Also featured are thread safety and a connection pool for the Active Record capability in Rails. "So now all elements of Rails are thread-safe, which is a big boon for the JRuby guys in particular," a blog on the site stated. "For C Ruby, we still need a bunch of dependent libraries to go non- blocking before it'll make much of a difference, but work on that is forthcoming."

Rails 2.2 also features improved API docs and a new guides section. It is compatible with Ruby 1.9 and JRuby.

Connection pooling in version 2.2 enables Rails to distribute requests across a pool of databases, according to release notes for the framework. Transactional migrations in version 2.2 are supported on PostgreSQL out of the box. The code will be extensible to other database types in the future, the notes said.

The framework can be installed through the RubyGems packaging system for Ruby.

Ruby on Rails was created by David Heinemeier Hansson, and Ruby and Ruby on Rails were featured at last week's QCon conference in San Francisco.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags ruby on rails

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Krill

InfoWorld
Show Comments

Father’s Day Gift Guide

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?