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

By Joab Jackson
Mon, January 23, 2012

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

What is Tech Briefcase?
TechBriefcase is a new, free service where IT Professionals can Search, Store and Share IT white papers and content like this. Learn more
Bookmark content
Speed up your research efforts with content across the web.
Search and Store
Find the white papers you need. Create folders for any topic.
View Anywhere
Open your briefcase on your iPhone, tablet or desktop. Share with colleagues.
Don't have an account yet?
Protect your business with vSphere, the industry's leading virtualization platform, which provides built-in business continuity for all your applications.
Many factors influence what "ideal" approach organizations should take when planning to implement a fabric-based infrastructure policy. This presentation charts the likely evolution of the market for fabric-based infrastructures, to help IT leaders determine the most appropriate vendor approach.

Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
A patchwork of job schedulers can cause many inefficiencies, hindering IT's ability to serve the business. An enterprise approach solves these issues and adds new value. Five steps can take you from a costly mishmash to benefits like increased productivity, lower costs, and better service.
What is workload automation, and how does it compare to traditional job scheduling? IDC tackles these questions and more in a new white paper.
You'll read about:

* Key factors increasing IT complexity - and how to manage them

* Building an automation strategy

* Definition and components of today's workload automation software
IT organizations of all sizes are looking for ways to reduce cost in their data center. While larger enterprises can more easily muster the necessary skills and resources in pursuit of this goal, mid-sized organizations typically have limited time and funds they can denote.
This IDC white paper presents a proactive approach to data protection, discusses the growing threats to business information, and the impact government regulations have on requiring additional data protections.
Business users increasingly demand 24x7 availability of their data while IT departments face the challenge of ensuring maximum availability while operating with limited budgets.
Date: Wednesday, May 23, 2012
Time: 11:00 a.m. PDT / 2:00 p.m. EDT

IT security faces challenges as never before. At one end of the spectrum, industrialized exploits hammer organizations with a volume and frequency of attacks that only a few short years ago would have been unimaginable.
Learn how to get the most from your cloud investment in our on-demand webinar from BMC and InformationWeek. You'll hear how integrating the cloud into your production workload brings critical business benefits.
Date: May 31, 2012
Time: 1 PM EST

Organizations are reaping the benefits of simplifying IT, lowering costs and dramatically improving transactional throughput by deploying optimized application-to-disk solutions. These pre-tuned, tested solutions encompass a wide variety of applications and use cases. Hear from industry experts, and IT executives, how these full-stack solutions can achieve three times faster deployment times and up to 75% reductions in acquisition and operational costs.
Find out when you join EMA Senior Analyst, Torsten Volk, for a discussion on the 2012 trends in workload automation and how these trends contribute to better connecting workload automation to business processes. These trends are derived from EMA's empirical research work conducted for the 2012 Workload Automation Radar Report.
What if you could run financial and operational planning cycles 10 times faster? Or monitor and adjust marketing campaigns in real time? What if you could instantly visualize how a price change would impact the profitability of thousands of products?
Newsletter Sign-Up »

Receive the latest news test, reviews and trends on your favorite technology topics

Choose a newsletter
  1. View all Newsletters | Privacy Policy
Sponsored Links

Learn how Accenture helps clients become high-performing businesses

Choose New and slash the number of devices you manage

Customized information views & Twitter events at New Fulcrum Point

Splunk translates machine data into "aha" moments for IT and the business.

ManageEngine Desktop Central - Automate and Audit Your Desktop Management! Learn More...

Cloud Readiness Starts with Intel® Technology

Visit the Virtually There Learning Page to learn how to use virtualization to your competitive advantage.

High performance. Delivered. Click to see Accenture's client successes

CYBERMARYLAND | Learn Why Maryland is the Epicenter for Cybersecurity

Get Ethernet speeds from 1 Mbps to 10 Gbps - Comcast Business Class

Cognizant. Leading in Business, Application & Technology Services

Collaboration: driving better business outcomes

Managed Hosting Buyer's Guide - Benefits to key considerations

Click to see how Accenture has delivered high performance to clients

Learn how Accenture helps clients become high-performing businesses.

Choose New and manage one device instead of 170

Choose New for 8x the firewall and NAT performance

Check out a smart way of mobilizing your business with enterprise-ready Samsung Mobile.

Redefine your data center with HP servers.

Enhance your business with Windstream IT Solutions. Speak to someone local.

BlackBerry® Mobile Fusion. Different mobile devices. One platform.

Akamai Kona Security. Web security so you can innovate fearlessly

Click to see how Accenture has delivered high performance to clients

Free: Hunter Muller's "The Transformational CIO."

Join us for an upcoming Microsoft 365 live online demo event.

Discover your easiest path to unified communications

Virtualizing Your Infrastructure Just Got Easier

Gain cutting-edge insights at MIT in 2-5 day executive programs.

See how Accenture helps clients perform at the highest levels

Connect with global CIOs now at Enterprise CIO Forum

Resource Center