Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the new features of Ruby on Rails 3.1official version?

Shulou Source: shulou.com Published: 2022-06-02 01:35:45 10月04日 Update

This article mainly introduces what are the new features of the official version of Ruby on Rails 3.1. what is introduced in the article is very detailed and has a certain reference value. Interested friends must finish reading it!

Rails (Ruby on Rails) 3.1 official release!

The official version brings several new features, including:

A new feature, Assets pipeline, has been introduced in ◆ Assets Pipeline:Rails 3.1. It can make CSS and JavaScript code management more standardized and convenient.

◆ Streaming:HTTP Streaming is also a new improvement in Rails that allows browsers to download stylesheets and JavaScript files while the page responds. This feature requires Ruby 1.9.2, as well as support from the Web server.

◆ jQuery replaces prototype as the default JS library for Rails.

The ◆ migration task is reversible.

For more information, see http://guides.rubyonrails.org/3_1_release_notes.html.

Note that Rails 3.1 requires Ruby version 1.8.7 or higher and is compatible with Ruby 1.9.2. Just in case, it is best to upgrade to Rails 3 before upgrading to Rails to ensure that it will work properly after upgrading to 3.1. Newly installed users strongly recommend using Ruby 1.9.2 (1.9.1 is not easy to use, and 1.8.7 contains the bug that caused Rails to crash).

Download address:

Https://github.com/rails/rails/zipball/v3.1.0 (ZIP format)

Https://github.com/rails/rails/tarball/v3.1.0 (TAR.GZ format)

These are all the contents of the article "what are the New Features of Ruby on Rails 3.1official Edition". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Official version new features upgrades content format articles just in case bad code value tasks information interests functions can make at the same time address buddy buddy suggestion Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi NVidia Shulou Tech Info MySQL Huawei