diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-02-21 14:54:17 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-02-21 15:02:52 +0100 |
commit | d98763a602ecffa1d375fa974d7c5de8b1145358 (patch) | |
tree | 9496be3ba3800210590d58c2d7e42c853421368b /activerecord/CHANGELOG.md | |
parent | b0fa9b59c8c9cac52d4eb4d8d984b85d4a753e97 (diff) | |
download | rails-d98763a602ecffa1d375fa974d7c5de8b1145358.tar.gz rails-d98763a602ecffa1d375fa974d7c5de8b1145358.tar.bz2 rails-d98763a602ecffa1d375fa974d7c5de8b1145358.zip |
multiple actions for :on option with `after_commit` and `after_rollback`
Closes #988.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 3410f38063..8e51fdf199 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,13 @@ ## Rails 4.0.0 (unreleased) ## +* The `:on` option for `after_commit` and `after_rollback` now + accepts an Array of actions. + Fixes #988. + + Example: + + after_commit :update_cache on: [:create, :update] + * Rename related indexes on `rename_table` and `rename_column`. This does not affect indexes with custom names. |