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.


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

def initialize; end

Instance Method Details

#add_record(record, _ = true) ⇒ Object


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

def add_record(record, _ = true); end

#closed?Boolean

Returns:

  • (Boolean)

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

def closed?; true; end

#dirty!Object


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

def dirty!; end

#dirty?Boolean

Returns:

  • (Boolean)

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

def dirty?; false; end

#joinable?Boolean

Returns:

  • (Boolean)

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

def joinable?; false; end

#open?Boolean

Returns:

  • (Boolean)

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

def open?; false; end

#restartable?Boolean

Returns:

  • (Boolean)

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

def restartable?; false; end

#stateObject


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

def state; end