Class: ActiveRecord::ConnectionAdapters::NullTransaction
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::NullTransaction
- Defined in:
- lib/active_record/connection_adapters/abstract/transaction.rb
Overview
:nodoc:
Instance Method Summary collapse
- #add_record(record, _ = true) ⇒ Object
- #closed? ⇒ Boolean
- #dirty! ⇒ Object
- #dirty? ⇒ Boolean
-
#initialize ⇒ NullTransaction
constructor
A new instance of NullTransaction.
- #invalidate! ⇒ Object
- #invalidated? ⇒ Boolean
- #joinable? ⇒ Boolean
- #open? ⇒ Boolean
- #restartable? ⇒ Boolean
- #state ⇒ Object
Constructor Details
#initialize ⇒ NullTransaction
Returns a new instance of NullTransaction.
101 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 101 def initialize; end |
Instance Method Details
#add_record(record, _ = true) ⇒ Object
106 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 106 def add_record(record, _ = true); end |
#closed? ⇒ Boolean
103 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 103 def closed?; true; end |
#dirty! ⇒ Object
109 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 109 def dirty!; end |
#dirty? ⇒ Boolean
108 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 108 def dirty?; false; end |
#invalidate! ⇒ Object
111 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 111 def invalidate!; end |
#invalidated? ⇒ Boolean
110 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 110 def invalidated?; false; end |
#joinable? ⇒ Boolean
105 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 105 def joinable?; false; end |
#open? ⇒ Boolean
104 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 104 def open?; false; end |
#restartable? ⇒ Boolean
107 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 107 def restartable?; false; end |
#state ⇒ Object
102 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 102 def state; end |