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
- #after_commit ⇒ Object
- #after_rollback ⇒ Object
- #before_commit ⇒ Object
- #closed? ⇒ Boolean
- #dirty! ⇒ Object
- #dirty? ⇒ Boolean
- #invalidate! ⇒ Object
- #invalidated? ⇒ Boolean
- #joinable? ⇒ Boolean
- #materialized? ⇒ Boolean
- #open? ⇒ Boolean
- #restartable? ⇒ Boolean
- #state ⇒ Object
- #user_transaction ⇒ Object
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_commit ⇒ Object
123 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 123 def after_commit; yield; end |
#after_rollback ⇒ Object
124 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 124 def after_rollback; end |
#before_commit ⇒ Object
122 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 122 def before_commit; yield; end |
#closed? ⇒ 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
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
119 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 119 def invalidated?; false; end |
#joinable? ⇒ Boolean
114 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 114 def joinable?; false; end |
#materialized? ⇒ Boolean
121 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 121 def materialized?; false; end |
#open? ⇒ Boolean
113 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 113 def open?; false; end |
#restartable? ⇒ Boolean
116 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 116 def restartable?; false; end |
#state ⇒ Object
111 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 111 def state; end |
#user_transaction ⇒ Object
125 |
# File 'lib/active_record/connection_adapters/abstract/transaction.rb', line 125 def user_transaction; ActiveRecord::Transaction::NULL_TRANSACTION; end |