aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorJeremy Kemper <jeremykemper@gmail.com>2015-01-20 09:53:15 -0700
committerJeremy Kemper <jeremykemper@gmail.com>2015-01-20 09:53:15 -0700
commitb477ad54e586326b33528c4d68930e2efa73c72b (patch)
tree00847e02dfe737124bb09ad274563db7178aae02 /activerecord/CHANGELOG.md
parent7675364fe0f51d539fb35eb005dfba3ca521ea47 (diff)
parenteb72e349b205c47a64faa5d6fe9f831aa7fdddf3 (diff)
downloadrails-b477ad54e586326b33528c4d68930e2efa73c72b.tar.gz
rails-b477ad54e586326b33528c4d68930e2efa73c72b.tar.bz2
rails-b477ad54e586326b33528c4d68930e2efa73c72b.zip
Merge pull request #18458 from brainopia/fix_after_commit_for_fixtures
Support after_commit callbacks in transactional fixtures
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 85b49d4c63..d5c141630e 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -31,6 +31,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".