1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #34425 from eugeneius/rm_ensure_from_with_transaction_returning_status

Remove ensure from with_transaction_returning_status
This commit is contained in:
Ryuta Kamizono 2018-11-12 23:59:25 +09:00 committed by GitHub
commit 1cbc6555f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -375,10 +375,6 @@ module ActiveRecord
raise ActiveRecord::Rollback unless status
end
status
ensure
if @transaction_state && @transaction_state.committed?
clear_transaction_record_state
end
end
private