Class: ActiveRecord::ConnectionAdapters::NullTransaction

Inherits:
Object
  • Object
show all
Defined in:
activerecord/lib/active_record/connection_adapters/abstract/transaction.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializeNullTransaction

Returns a new instance of NullTransaction.


35
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 35

def initialize; end

Instance Method Details

#add_record(record) ⇒ Object


40
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 40

def add_record(record); end

#closed?Boolean

Returns:

  • (Boolean)

37
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 37

def closed?; true; end

#joinable?Boolean

Returns:

  • (Boolean)

39
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 39

def joinable?; false; end

#open?Boolean

Returns:

  • (Boolean)

38
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 38

def open?; false; end

#stateObject


36
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 36

def state; end