aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorBrian Durand <brian@embellishedvisions.com>2009-06-02 14:42:22 -0500
committerJeremy Kemper <jeremy@bitsweat.net>2010-04-29 12:24:15 -0700
commitda840d13da865331297d5287391231b1ed39721b (patch)
tree70ffe972358503c16fadd04a1dda336abba9c216 /activerecord/CHANGELOG
parent20f0e9f3203560f34f451a37130caf237bb94867 (diff)
downloadrails-da840d13da865331297d5287391231b1ed39721b.tar.gz
rails-da840d13da865331297d5287391231b1ed39721b.tar.bz2
rails-da840d13da865331297d5287391231b1ed39721b.zip
Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction.
[#2991 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index 7864d735ad..ac5bd8e635 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*Rails 3.0.0 [beta 4/release candidate] (unreleased)*
+* New callbacks: after_commit and after_rollback. Do expensive operations like image thumbnailing after_commit instead of after_save. #2991 [Brian Durand]
+
* Serialized attributes are not converted to YAML if they are any of the formats that can be serialized to XML (like Hash, Array and Strings). [José Valim]
* Destroy uses optimistic locking. If lock_version on the record you're destroying doesn't match lock_version in the database, a StaleObjectError is raised. #1966 [Curtis Hawthorne]