Excited for Ruby on Rails 3.1!

Ours is a very dynamic world, especially for developers or Développeurs Ruby on Rails 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 Rubis sur 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.

Prenez contact avec nous.

Abonnez-vous pour les dernières mises à jour

Articles Similaires

Laissez un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *