Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Rails 3.1: Release Candidate Is Ready To Go

DZone's Guide to

Rails 3.1: Release Candidate Is Ready To Go

· Web Dev Zone
Free Resource

Learn how to build modern digital experience apps with Crafter CMS. Download this eBook now. Brought to you in partnership with Crafter Software

At last week's Rails Conf, it was announced that the Rails 3.1 Release Candidate is ready to go, with 3 new features and a slew of improvements.

The 3 features:

The Asset Pipeline

Powered by Sprockets 2.0, the asset pipeline enables proper organization (including use in plugins and engines) for CSS and JavaScript. It also comes with SCSS as the default for stylesheets and CoffeeScript as the default for JavaScript.

For a full tour of this feature, have a look at the ‪David Heinemeier Hansson‬ keynote (58:00 total).

HTTP Streaming

This allows the browser to download your style sheet and javascripts while the server is creating the response. The result? Faster pages. Take a look at the Railscast on HTTP streaming for more on this feature.

jQuery Is The Default

jQuery is now the default JavaScript framework that comes with Rails, but those who prefer Prototype can switch back to that framework easily if need be.

Other features include:

Reversible migrations
Mountable engines
Identity map
Prepared statements

Click here for a complete changelog, or click here for a complete overview from RailsCast.

 

 

 

 

 

 

 

Rails 3.1: Release Candidate can be installed with with gem install rails --pre.  The final version should be available in a couple of weeks. 

[via RubyOnRails Blog]

 

Crafter is a modern CMS platform for building modern websites and content-rich digital experiences. Download this eBook now. Brought to you in partnership with Crafter Software.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}