Fixes typo

This commit is contained in:
Xavier Noria 2024-06-20 08:30:40 +02:00
parent 03a399bb08
commit 13f4d0f624
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ module ActiveRecord
!closed?
end
# Returns true if the transaction doesn't exists or is finalized.
# Returns true if the transaction doesn't exist or is finalized.
def closed?
@internal_transaction.nil? || @internal_transaction.state.finalized?
end