diff options
Diffstat (limited to 'railties/CHANGELOG')
-rw-r--r-- | railties/CHANGELOG | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index f159247308..0def5bcf6c 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,35 @@ *Rails 3.1.0 (unreleased)* +* The -j option of the application generator accepts an arbitrary string. If passed "foo", +the gem "foo-rails" is added to the Gemfile, and the application JavaScript manifest +requires "foo" and "foo_ujs". As of this writing "prototype-rails" and "jquery-rails" +exist and provide those files via the asset pipeline. Default is "jquery". [fxn] + +* jQuery is no longer vendored, it is provided from now on by the jquery-rails gem. [fxn] + +* Prototype and Scriptaculous are no longer vendored, they are provided from now on +by the prototype-rails gem. [fxn] + +* The scaffold controller will now produce SCSS file if Sass is available [Prem Sichanugrist] + +* The controller and resource generators will now automatically produce asset stubs (this can be turned off with --skip-assets). These stubs will use Coffee and Sass, if those libraries are available. [DHH] + +* jQuery is the new default JavaScript library. [fxn] + +* Changed scaffold and app generator to create Ruby 1.9 style hash when running on Ruby 1.9 [Prem Sichanugrist] + + So instead of creating something like: + + redirect_to users_path, :notice => "User has been created" + + it will now be like this: + + redirect_to users_path, notice: "User has been created" + + You can also passing `--old-style-hash` to make Rails generate old style hash even you're on Ruby 1.9 + +* Changed scaffold_controller generator to create format block for JSON instead of XML [Prem Sichanugrist] + * Add using Turn with natural language test case names for test_help.rb when running with minitest (Ruby 1.9.2+) [DHH] * Direct logging of Active Record to STDOUT so it's shown inline with the results in the console [DHH] |