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!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
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

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?