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.
107 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 107 def initialize; end |
Instance Method Details
#add_record(record, _ = true) ⇒ Object
112 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 112 def add_record(record, _ = true); end |
#closed? ⇒ Boolean
109 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 109 def closed?; true; end |
#dirty! ⇒ Object
115 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 115 def dirty!; end |
#dirty? ⇒ Boolean
114 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 114 def dirty?; false; end |
#invalidate! ⇒ Object
117 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 117 def invalidate!; end |
#invalidated? ⇒ Boolean
116 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 116 def invalidated?; false; end |
#joinable? ⇒ Boolean
111 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 111 def joinable?; false; end |
#open? ⇒ Boolean
110 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 110 def open?; false; end |
#restartable? ⇒ Boolean
113 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 113 def restartable?; false; end |
#state ⇒ Object
108 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 108 def state; end |