Module: EM::Synchrony::ActiveRecord::Adapter_4_2
- Included in:
- ActiveRecord::ConnectionAdapters::EMMysql2Adapter
- Defined in:
- lib/em-synchrony/activerecord_4_2.rb
Instance Method Summary collapse
Instance Method Details
#configure_connection ⇒ Object
6 7 8 |
# File 'lib/em-synchrony/activerecord_4_2.rb', line 6 def configure_connection nil end |
#reset_transaction ⇒ Object
:nodoc:
16 17 18 |
# File 'lib/em-synchrony/activerecord_4_2.rb', line 16 def reset_transaction #:nodoc: @transaction_manager = TransactionManager.new(self) end |
#transaction(*args) ⇒ Object
10 11 12 13 14 |
# File 'lib/em-synchrony/activerecord_4_2.rb', line 10 def transaction(*args) @connection.execute(false) do |conn| super end end |