Rails 3.0 Release Candidate
Rails 3.0 Release Candidate
Wednesday, 04 August 2010

It is arguable that Ruby on Rails is the reason why the MVC architecture is so popular so, even if you don't use Rails, the fact that there is a release candidate of version 3.0 is important. Where Rails goes others follow.


You can try out Rails 3.0 very easily with a simple install command.


The main emphasis of the release seems to be speed improvements.  As with all interpreted languages, speed is an issue and the Rails framework is quite demanding. It is claimed that speed is good across all aspects of operation apart from Active Record, and it is hoped that will be fixed before the final release.

The key improvement is support for shallow routing which produces shorter URLs. There are also some upheavals that require the Rails programmer to learn new ways of doing old things.  The routing API has been completely redesigned. The new way is arguably cleaner and more Ruby-like. Old routes are depreciated but still work - for now. There is also a new API for model validation and traversal. The view has also been changed to make all Javascript unobtrusive and a number of minor change will  make code changes necessary. The mail facilities have also been completely redesigned to make it more like a  controller.



The best way to sum these changes up is to say that if you are about to buy a Ruby book - make sure it applies to version 3.0.

The release candidate has support for the MySQL2 gem, which takes care of MySQL encoding issues on Ruby 1.9.2.It also fixes problems with autoloading and web encoding.

You can download the release candidate from http://rubyonrails.org/



No More Tweet Counts

If you are a member of the Twitterati, last Friday was a sad day. Twitter turned off the Tweet counter feature and does not intend to restore it.

Microsoft Open Sources Quantum Computing

Microsoft has a lot of interest in quantum computing and even though we don't actually have any such thing at the moment this hasn't stopped it from creating a simulator called LIQUi|>.

More News





Last Updated ( Monday, 30 August 2010 )

RSS feed of news items only
I Programmer News
Copyright © 2015 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.