Skip to content

Commit 2f777dc

Browse files
committed
Remove private transaction(joinable:) parameter from RDoc
Fix: rails#46182 This argument is only for internal use, like transactional fixtures or the `--sandbox` console flag.
1 parent c41e2f1 commit 2f777dc

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)