Web framework rides the Rails 2.0
- By Trudy Walsh
- Dec 10, 2007
The Version 2.0 release of Ruby on Rails on Friday has added a little polish to the free Web application framework, said Rails creator David Heinemeier Hansson on his blog
Some of the improvements in 2.0 are enhanced support for Representation State Transfer and security improvements that add phishing protections. The new version adopts a preference for REST over Simple Object Access Protocol for passing messages in Web applications. REST has been growing more popular as an easy, agile way to grab data.
Rails 2.0 also simplifies routing resources and makes all resource-based controllers plural by default. "This allows a single resource to be mapped in multiple contexts and still refer to the same controller," Hansson said.
Other improvements include modifications to the multiview feature and simplifications for controller and view methods that deal with URLs.
Hansson, a developer at 37signals, a Web product development company, has worked on the framework for about 4 1/2 years, and some other developers have been contributing to the framework for almost as long.
Ruby on Rails speeds deployment through a preset configuration and has been advocated by some as a replacement for the more complex Java Enterprise Edition.
Trudy Walsh is a senior writer for GCN.