Skip to content

Commit

Permalink
Fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Jun 20, 2024
1 parent 03a399b commit 13f4d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def open?
!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
Expand Down

0 comments on commit 13f4d0f

Please sign in to comment.