diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-02 23:00:59 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-02 23:00:59 +0530 |
commit | eeda8403fd222c1109618834e4fe31a45e6531ca (patch) | |
tree | 3938573377fdbcd0a956408f8bc8363adec1713a /railties/guides/source/3_1_release_notes.textile | |
parent | 67790644372ad3a771810f1d6d99687d795789ea (diff) | |
parent | 44284a613b3efe2319db3f84090c0004505942c1 (diff) | |
download | rails-eeda8403fd222c1109618834e4fe31a45e6531ca.tar.gz rails-eeda8403fd222c1109618834e4fe31a45e6531ca.tar.bz2 rails-eeda8403fd222c1109618834e4fe31a45e6531ca.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/3_1_release_notes.textile')
-rw-r--r-- | railties/guides/source/3_1_release_notes.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/3_1_release_notes.textile b/railties/guides/source/3_1_release_notes.textile index 7de8866ff6..73a96388af 100644 --- a/railties/guides/source/3_1_release_notes.textile +++ b/railties/guides/source/3_1_release_notes.textile @@ -271,7 +271,7 @@ Post.new(params[:post], :as => :admin) * +ConnectionManagement+ middleware is changed to clean up the connection pool after the rack body has been flushed. -* Added an +update_column+ method on Active Record. This new method updates a given attribute on an object, skipping validations and callbacks. It is not recommended to use +update_attribute+ unless you are sure you do not want to execute any callback, including the modification of the +updated_at+ column. It should not be called on new records. +* Added an +update_column+ method on Active Record. This new method updates a given attribute on an object, skipping validations and callbacks. It is recommended to use +update_attributes+ or +update_attribute+ unless you are sure you do not want to execute any callback, including the modification of the +updated_at+ column. It should not be called on new records. * Associations with a +:through+ option can now use any association as the through or source association, including other associations which have a +:through+ option and +has_and_belongs_to_many+ associations. |