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.


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

def initialize; end

Instance Method Details

#add_record(record) ⇒ Object


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

def add_record(record); end

#closed?Boolean

Returns:

  • (Boolean)

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

def closed?; true; end

#joinable?Boolean

Returns:

  • (Boolean)

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

def joinable?; false; end

#open?Boolean

Returns:

  • (Boolean)

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

def open?; false; end