aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorbrainopia <brainopia@evilmartians.com>2015-01-12 02:38:22 +0300
committerbrainopia <brainopia@evilmartians.com>2015-01-16 03:50:29 +0300
commiteb72e349b205c47a64faa5d6fe9f831aa7fdddf3 (patch)
tree7f4c2ff107dd4e723be8238d1803a2dfb98a7e0d /activerecord/CHANGELOG.md
parent090c5211ced7b728df6176d5c9fc7437c107beaf (diff)
downloadrails-eb72e349b205c47a64faa5d6fe9f831aa7fdddf3.tar.gz
rails-eb72e349b205c47a64faa5d6fe9f831aa7fdddf3.tar.bz2
rails-eb72e349b205c47a64faa5d6fe9f831aa7fdddf3.zip
after_commit runs after transactions with non-joinable parents
after_commit callbacks run after committing a transaction whose parent is not `joinable?`: un-nested transactions, transactions within test cases, and transactions in `console --sandbox`.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index c777af342f..620d256d16 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -12,6 +12,15 @@
*Sean Griffin*
+* Tests now run after_commit callbacks. You no longer have to declare
+ `uses_transaction ‘test name’` to test the results of an after_commit.
+
+ after_commit callbacks run after committing a transaction whose parent
+ is not `joinable?`: un-nested transactions, transactions within test cases,
+ and transactions in `console --sandbox`.
+
+ *arthurnn*, *Ravil Bayramgalin*, *Matthew Draper*
+
* `nil` as a value for a binary column in a query no longer logs as
"<NULL binary data>", and instead logs as just "nil".