Excited for Ruby on Rails 3.1!

Ours is a very dynamic world, especially for developers or Ruby on Rails Developers to be specific. Things which you like working on and best comfortable with can change in a sudden splash of thunder!!! We are one of the best examples of human’s adaptability.

On a serious note few highlights of newly released Rails 3.1 are

  • Streaming
  • Assets Pipeline
  • jQuery as the default JavaScript library

Here is a brief idea about them.

Streaming (http streaming)

This lets the browser download your stylesheets and JavaScript files while the server is still generating the response. This requires Ruby 1.9.2 is opt-in and requires support from the web server as well, but the popular combo of nginx and unicorn is ready to take advantage of it.

Assets Pipeline

The major change in this version of Ruby on Rails is the Assets Pipeline. It makes CSS and JavaScript first-class code citizens and enables proper organization, including use in plugins and engines. The assets pipeline is powered by Sprockets and is covered in the Asset Pipeline guide.

jQuery as the default JavaScript library

jQuery is the default JavaScript library that ships with Rails 3.1. But if you use Prototype, it’s simple to switch.

$ rails new myapp -j prototype.

Get in touch with us.

Subscribe For Latest Updates

Related Posts

Leave a Comment

Your email address will not be published. Required fields are marked *

en_USEnglish