method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Transaction
new(connection, isolation: nil, joinable: true, run_commit_callbacks: false) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 126
      def initialize(connection, isolation: nil, joinable: true, run_commit_callbacks: false)
        @connection = connection
        @state = TransactionState.new
        @records = nil
        @isolation_level = isolation
        @materialized = false
        @joinable = joinable
        @run_commit_callbacks = run_commit_callbacks
        @lazy_enrollment_records = nil
        @dirty = false
        @instrumenter = TransactionInstrumenter.new(connection: connection)
      end
Register or log in to add new notes.