diff options
author | Rodrigo Rosenfeld Rosas <rr_rosas@yahoo.com.br> | 2009-02-22 18:04:00 -0300 |
---|---|---|
committer | Rodrigo Rosenfeld Rosas <rr_rosas@yahoo.com.br> | 2009-02-22 18:04:00 -0300 |
commit | 91ab75373f13054485f5d804d7e2c80d466ff5e0 (patch) | |
tree | 83076d737abfd2d501b0f7fce528623648d951db /railties/guides/source | |
parent | 966f86402a43a481491f85ac0e55f820ed831583 (diff) | |
parent | 3e273a03291198a20edd4921cc34a2a90e9ab914 (diff) | |
download | rails-91ab75373f13054485f5d804d7e2c80d466ff5e0.tar.gz rails-91ab75373f13054485f5d804d7e2c80d466ff5e0.tar.bz2 rails-91ab75373f13054485f5d804d7e2c80d466ff5e0.zip |
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/2_3_release_notes.textile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/railties/guides/source/2_3_release_notes.textile b/railties/guides/source/2_3_release_notes.textile index 55a34c862f..9642dbdad0 100644 --- a/railties/guides/source/2_3_release_notes.textile +++ b/railties/guides/source/2_3_release_notes.textile @@ -50,6 +50,10 @@ The "Ruby on Rails guides":http://guides.rubyonrails.org/ project has published * More Information: "Rails Documentation Projects":http://weblog.rubyonrails.org/2009/1/15/rails-documentation-projects +h3. Ruby 1.9.1 Support + +Rails 2.3 should pass all of its own tests whether you are running on Ruby 1.8 or the now-released Ruby 1.9.1. You should be aware, though, that moving to 1.9.1 entails checking all of the data adapters, plugins, and other code that you depend on for Ruby 1.9.1 compatibility, as well as Rails core. + h3. Active Record Active Record gets quite a number of new features and bug fixes in Rails 2.3. The highlights include nested attributes, nested transactions, dynamic scopes, and default scopes. @@ -511,7 +515,8 @@ A few pieces of older code are deprecated in this release: * Some integration test helpers have been removed. +response.headers["Status"]+ and +headers["Status"]+ will no longer return anything. Rack does not allow "Status" in its return headers. However you can still use the +status+ and +status_message+ helpers. +response.headers["cookie"]+ and +headers["cookie"]+ will no longer return any CGI cookies. You can inspect +headers["Set-Cookie"]+ to see the raw cookie header or use the +cookies+ helper to get a hash of the cookies sent to the client. * +formatted_polymorphic_url+ is deprecated. Use +polymorphic_url+ with +:format+ instead. * The +:http_only+ option in +ActionController::Response#set_cookie+ has been renamed to +:httponly+. +* The +:connector+ and +:skip_last_comma+ options of +to_sentence+ have been replaced by +:words_connnector+, +:two_words_connector+, and +:last_word_connector+ options. h3. Credits -Release notes compiled by "Mike Gunderloy":http://afreshcup.com +Release notes compiled by "Mike Gunderloy":http://afreshcup.com. This version of the Rails 2.3 release notes was compiled based on RC2 of Rails 2.3. |