aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-04-30 21:23:03 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-04-30 21:44:37 +0900
commite0a315b38aae8cb748597a89786c2249627c4495 (patch)
tree4af6b10b7c5ac2282ae4e57fb60756e3417abd0f /activesupport/lib/active_support/json
parentc1ff1392dbcd8fbf9228d552cf596a26351b2edc (diff)
downloadrails-e0a315b38aae8cb748597a89786c2249627c4495.tar.gz
rails-e0a315b38aae8cb748597a89786c2249627c4495.tar.bz2
rails-e0a315b38aae8cb748597a89786c2249627c4495.zip
Should take the record's state of first action in the transaction
If the same id's records are saved and/or destroyed in the transaction, commit callbackes will only run for the first enrolled record. https://github.com/rails/rails/blob/a023e2180093ebc517a642aaf21f3c7241c67657/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb#L115-L119 The regression #36132 is caused due to #35920 changed the enrollment order that the first action's record will be enrolled to last in the transaction. We could not change the the enrollment order as long as someone depends on the enrollment order. Fixes #36132.
Diffstat (limited to 'activesupport/lib/active_support/json')
0 files changed, 0 insertions, 0 deletions