From eb72e349b205c47a64faa5d6fe9f831aa7fdddf3 Mon Sep 17 00:00:00 2001 From: brainopia Date: Mon, 12 Jan 2015 02:38:22 +0300 Subject: 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`. --- activerecord/CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'activerecord/CHANGELOG.md') 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 "", and instead logs as just "nil". -- cgit v1.2.3