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:
commit
1cbc6555f5
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue