Skip to content

Commit

Permalink
Add Changelog entry regarding update_attibutes being renamed to update
Browse files Browse the repository at this point in the history
  • Loading branch information
Amparo Luna + Guillermo Iguaran committed Jan 3, 2013
1 parent 0433d79 commit d826f14
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions activerecord/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## Rails 4.0.0 (unreleased) ##

* Rename `update_attributes` to `update`, keep `update_attributes` as an alias for `update` method.
This is a soft-deprecation for `update_attributes`, although it will still work without any
deprecation message in 4.0 is recommended to start using `update` since `update_attributes` will be
deprecated and removed in future versions of Rails.

*Amparo Luna + Guillermo Iguaran*

* `after_commit` and `after_rollback` now validate the `:on` option and raise an `ArgumentError`
if it is not one of `:create`, `:destroy` or ``:update`

Expand Down

0 comments on commit d826f14

Please sign in to comment.