Ruby on Rails 3.0
sets sail gets off ground oh, chuff chuff
'Never struggle with user pastes from MS Word again!'
The Ruby on Rails creator has released version 3.0 of the open source web framework, following a two-year project involving more than 1,600 contributors to the code.
David Heinemeier announced the third generation release of the software – which has been designed to work with Ruby 1.8.7, Ruby 1.9.2, and JRuby 1.5.2+ – on Sunday in a blog post.
He said the latest version was “better, faster, cleaner, and more beautiful”. Interweb surfers can shrug off encoding problems with Ruby on Rails 3.0, said Heinemeier.
“If you browse the Internet with any frequency, you will likely encounter the � character. This problem is extremely pervasive, and is caused by mixing and matching content with different encodings,” he explained.
“In a system like Rails, content comes from the database, your templates, your source files, and from the user. Ruby 1.9 gives us the raw tools to eliminate these problems, and in combination with Rails 3, � should be a thing of the past in Rails applications. Never struggle with corrupted data pasted by a user from Microsoft Word again!”
Other features include better code interplay for individual developers who don’t necessarily want to use Rails’ default set of libraries.
There’s also a new active record query engine, while XSS protection is now enabled by default and new plugin APIs.
Heinemeier said the latest release had “brought true agnosticism to Rails 3 for all components of the framework”.
In February a Ruby on Rails 3 beta was integrated with the Merb model-view controller framework, which uses a system of plug-ins to deliver specific features. ®
Sponsored: Flash storage buyer's guide