Class: ActiveRecord::ConnectionAdapters::NullTransaction
- Defined in:
- activerecord/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.
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
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
84 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 84 def dirty?; false; end |
#invalidate! ⇒ Object
87 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 87 def invalidate!; end |
#invalidated? ⇒ Boolean
86 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 86 def invalidated?; false; end |
#joinable? ⇒ Boolean
81 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 81 def joinable?; false; end |
#open? ⇒ Boolean
80 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 80 def open?; false; end |
#restartable? ⇒ Boolean
83 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 83 def restartable?; false; end |
#state ⇒ Object
78 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/transaction.rb', line 78 def state; end |