Only when you stop and look down do you see how high you’ve climbed (Photo: Seier)
What’s new in Rails 3.1?
Currently in release candidate 4, Rails 3.1 will ship out of the box with jQuery, SASS and CoffeeScript. Also, a bunch of new conventions and features have been added such as the Asset Pipeline, HTTP Streaming and Mountable Engines to name a few.
These are just some things to familiarize yourself with as we get closer to the full release.
The Asset Pipeline
Recall that Rails Engines are basically mini rails apps that can live inside a larger more complex rails application. An engine can have its own models, views, controllers, generators and publicly served static files, just to name a few of its current capabilities.
In addition to that engines will now be capable of having their own routing and helper scope and will also be able to access and take advantage of the new asset pipeline.
These are just some of the many improvements that are being jam packed into the new release. For more information on Rails 3.1 and the changes involved I recommend the following articles and screencasts.
- http://railscasts.com/episodes/265-rails-3-1-overview – Railscast Overview
- http://www.youtube.com/watch?v=cGdCI2HhfAU – DHH Keynote
- http://www.rubyinside.com/rails-3-1-adopts-coffeescript-jquery-sass-and-controversy-4669.html – Ruby Inside Overview
- http://railscasts.com/episodes/266-http-streaming – Railscast HTTP Streaming
- http://metaskills.net/2011/07/29/use-compass-sass-framework-files-with-the-rails-3.1.0.rc5-asset-pipeline/ – Asset Pipeline
- http://railscasts.com/episodes/267-coffeescript-basics – Coffescript Basics
- http://piotrsarnacki.com/2010/09/14/mountable-engines – Mountable Engines
- http://railscasts.com/episodes/277-mountable-engines – Mountable Engines