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 PC World newsletter!

Error: Please check your email address.

Tags ruby on rails

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

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

Paul Krill

InfoWorld
Show Comments

Essentials

Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >

Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >

Mobile

Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >

Exec

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >

Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

Budget

Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?