We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fbc6e2 commit 7aac5d6Copy full SHA for 7aac5d6
activerecord/lib/active_record/transaction.rb
@@ -101,9 +101,6 @@ def after_commit(&block)
101
#
102
# If the entire chain of nested transactions are all successfully committed,
103
# the block is never called.
104
- #
105
- # If the transaction is already finalized, attempting to register a callback
106
- # will raise ActiveRecord::ActiveRecordError.
107
def after_rollback(&block)
108
@internal_transaction&.after_rollback(&block)
109
end
0 commit comments