Paris on Rails welcomes Ruby on Rails 2.0

Attendees at the Paris on Rails conference welcomed the launch of Ruby on Rails 2.0.

Organizers of the Paris on Rails conference that opened Monday were so busy preparing over the weekend that they hadn't heard the good news: Version 2.0 of the Ruby on Rails software development framework was released Friday.

Rails had already reached version 2.0.1 by the time they heard the news, as its creator David Heinemeier Hansson released an update for a glitch discovered after launch. Rails offers a framework of tools for developing Web sites using Ruby, a programming language invented in 1995 by Yukihiro Matsumoto.

Hansson, of Web application developer 37signals, joined the conference by video-link to present the changes.

"In 2.0 we're making a really strong statement about RESTful application design," he said, referring to the new version's preference for REST (Representational State Transfer) rather than SOAP (Simple Object Access Protocol) for passing messages in Web applications.

Developers here are ready for the change, said Richard Piacentini, founder and associate director of Nuxos SARL, a French software systems integrator working with Ruby on Rails, and also one of the conference organizers.

With the new version, Rails has become a technology for ensuring continuity, whereas previous versions were more about breaking free from the past, he said.

That continuity comes in part from the support Ruby now has from industry stalwarts like Sun Microsystems and Microsoft.

Sun recently hired the developers of JRuby, an implementation of Ruby for the Java virtual machine that allows Ruby on Rails developers to make use of the work enterprises have already put into developing Java application frameworks. Microsoft, for its part, hired the developer of RubyCLR, a bridge between Ruby and Microsoft's .Net framework, allowing Rails developers to similarly leverage businesses' .Net legacy.

Nevertheless, Ruby on Rails 2.0 is making some breaks from the past, dropping a certain number of functions that had been carried over from the very first version.

"We wanted to get some of that cruft out," said Hansson. Some of the dropped elements have been moved to plugins: Include the plugin and your application will continue to work just fine, he said.

Version 1.2.6 logs warnings when applications use soon-to-be-eliminated functions. Hansson advised users to test their applications in 1.2.6 first before upgrading to 2.0 for information about whether their application will still work.

The no-surprises approach has helped companies like Nuxos. "The things that changed were announced six months ago," Nuxos' Piacentini said, adding that his company has already begun developing for Version 2.0.

More than the code changes, the move to Version 2.0 marks a rite of passage for many developers present.

"Release 2.0 is a sign of maturity," said Yann Lugrin of Liquid Concept, a Web site creator in Lausanne, Switzerland. After working with PHP and Python, Lugrin now works entirely in Ruby on Rails.

That apparent maturity may make businesses take a second look at Ruby on Rails, said Lugrin.

Lugrin's customers, most of them small and medium-size businesses, don't care what he uses to build their sites, they just want something that fits their budgets. He finds Rails a big help with that.

One of its attractions is that the framework takes care of many of the elements that are common between projects.

"Rails lets us concentrate our development efforts on what makes our application different," he said, pointing to one of the guiding principles of Rails development: "Don't repeat yourself."

Another attraction is that Rails embodies many of the principles of agile software development, said Lugrin. With its focus on writing tests before code, it helps programmers working on projects where the requirements are changed and refined during the course of development.

At the Paris on Rails event, two businesses presented projects developed in Ruby on Rails.

AurA©lien GA©ron of Wi-Fi hotspot operator WiFirst explained how his company had chosen Ruby on Rails over Python to develop a site offering e-mail, photo hosting and contact management. "There were already lots of libraries available for Python," he said, but in the end it was the dynamic development community around Ruby on Rails that carried the day.

RBC Dexia Investor Services, a bank, explained how it is using Ruby on Rails to make better use of its existing Java application infrastructure.

The conference, now in its second year, drew 240 developers and project managers. That's about half the number that attended a conference aimed at users of rival Web programming language PHP here last month, the Forum PHP Paris.

The difference underscores a complaint common among businesses using Rails here -- there aren't enough available Ruby on Rails programmers around.

"France is historically one of the countries where PHP is strongest," said Piacentini.

Getting Rails into the hearts and minds of more developers will be the next challenge, then.

That might happen with the attention being paid by big players such as Sun and Microsoft -- or even Apple, which included the software in Leopard, the latest version of Mac OS X.

"When you buy a new Mac, Rails is right on the development tools CD," said Hansson.

Some will take little persuading. Many of the speakers, and most of the front row of the audience at Paris on Rails, were already carrying either a MacBook or an iPhone.

Join the newsletter!


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.

More about Agile SoftwareAppleCreatorHISMicrosoftSun Microsystems

Show Comments