Ruby on Rails 3.2 aids the developers

The new version of the Ruby on Rails framework features new developments that could aid Web development

Those who maintain Ruby on Rails have released a new version of their popular open-source Web application development framework, one that features a number of improvements to help developers build applications more quickly.

First released in 2004, Ruby on Rails is an open-source framework for rapidly assembling Web pages based on the Ruby scripting language. This is the first major release of the open-source package since version 3.1 was released last August.

The chief improvement in Ruby on Rails 3.2 is in how the software works in dev, or development, mode. "The new faster dev mode in particular is a major step up over 3.1," said Ruby on Rails creator David Heinemeier Hansson, in a blog post announcing the release.

Most notably, each time a new program is altered and then tested, dev mode will only reload the classes of that program that have actually been changed, rather than reload all the classes the program uses. "The difference is dramatic on a larger application," Heinemeier said.

This is also the first version to feature a tagged logger, which is handy for where Ruby on Rails is used to run multiple applications, or to run an application for multiple users. With this script, an administrator can filter log files just to see activity with a specific application or user.

Other new features include a new way to annotate database queries -- which can aid in debugging -- and a new routing engine, called Journey, to speed completion of Web browser requests.

At least 226,000 websites use this set of Ruby on Rails, according to the Australian BuiltWith Trends Pro analysis service. In the most recent Tiobe survey of languages, released in January, Ruby use seems to have slipped slightly, as the HTML5-friendly JavaScript gained more favor for Web applications.

But one Ruby on Rails adherent is online discount service LivingSocial, which uses it for the majority of its online services.

"Ruby on Rails is interesting because it gets out of your way," said Aaron Batalion, LivingSocial chief technology officer and cofounder. Hansson's architectural philosophy of convention-over-configuration meant that many routine tasks of app building, such as connecting to a database, were streamlined by the framework.

When Batalion and his partners started building the LivingSocial platform in 2007, the company tried using Java Enterprise Edition but got weighed down by the complexity of the platform. They were able to quickly build prototypes with Ruby on Rails, though. "We wanted to focus on the actual products we were building and less on the engineering," Batalion said.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

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.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service
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?