Skip to content

Commit 6d0bafa

Browse files
authored
Merge pull request rails#46186 from Shopify/remove-transaction-joinable-from-doc
Remove private `transaction(joinable:)` parameter from RDoc
2 parents fa7fb00 + 2f777dc commit 6d0bafa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ def truncate_tables(*table_names) # :nodoc:
306306
#
307307
# The mysql2 and postgresql adapters support setting the transaction
308308
# isolation level.
309+
# :args: (requires_new: nil, isolation: nil, &block)
309310
def transaction(requires_new: nil, isolation: nil, joinable: true, &block)
310311
if !requires_new && current_transaction.joinable?
311312
if isolation

0 commit comments

Comments
 (0)