aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/fixtures
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2014-08-08 15:46:00 -0400
committerArthur Neves <arthurnn@gmail.com>2014-08-15 16:04:39 -0400
commit2e90fe736de73cfd89eed68b38e03eb6175314bc (patch)
tree8894bfbea8e8ec985eadacc794045869c21dea39 /actionmailer/test/fixtures
parent0002954512364f2f69d28798f7a79aa8e27d7b6b (diff)
downloadrails-2e90fe736de73cfd89eed68b38e03eb6175314bc.tar.gz
rails-2e90fe736de73cfd89eed68b38e03eb6175314bc.tar.bz2
rails-2e90fe736de73cfd89eed68b38e03eb6175314bc.zip
Fix regression on after_commit in nested transactions.
after_commit should not run in nested transactions, however they should run once the outermost transaction gets committed. This patch fixes the problem copying the records from the Savepoint to its parent. So the RealTransaction will have all records that needs to run callbacks on it. [fixes #16425]
Diffstat (limited to 'actionmailer/test/fixtures')
0 files changed, 0 insertions, 0 deletions