Skip to content

Commit 11aae13

Browse files
committed
Fix typo
1 parent 190f006 commit 11aae13

File tree

1 file changed

+1
-1
lines changed
  • activerecord/lib/active_record/connection_adapters/abstract

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/connection_adapters/abstract/transaction.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def within_new_transaction(isolation: nil, joinable: true)
336336
elsif Thread.current.status == "aborting" || (!completed && transaction.written)
337337
# The transaction is still open but the block returned earlier.
338338
#
339-
# The block could return early because of a timeout or becase the thread is aborting,
339+
# The block could return early because of a timeout or because the thread is aborting,
340340
# so we are rolling back to make sure the timeout didn't caused the transaction to be
341341
# committed incompletely.
342342
rollback_transaction

0 commit comments

Comments
 (0)