Class: ActiveRecord::ConnectionAdapters::NullTransaction

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#add_record(record, _ = true) ⇒ Object



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

def add_record(record, _ = true); end

#after_commitObject



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

def after_commit; yield; end

#after_rollbackObject



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

def after_rollback; end

#before_commitObject



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

def before_commit; yield; end

#closed?Boolean

Returns:

  • (Boolean)


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

def closed?; true; end

#dirty!Object



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

def dirty!; end

#dirty?Boolean

Returns:

  • (Boolean)


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

def dirty?; false; end

#invalidate!Object



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

def invalidate!; end

#invalidated?Boolean

Returns:

  • (Boolean)


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

def invalidated?; false; end

#joinable?Boolean

Returns:

  • (Boolean)


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

def joinable?; false; end

#materialized?Boolean

Returns:

  • (Boolean)


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

def materialized?; false; end

#open?Boolean

Returns:

  • (Boolean)


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

def open?; false; end

#restartable?Boolean

Returns:

  • (Boolean)


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

def restartable?; false; end

#stateObject



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

def state; end

#user_transactionObject



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

def user_transaction; ActiveRecord::Transaction::NULL_TRANSACTION; end