module TorqueBox::Transactions::ActiveRecordAdapters::XAResource

Public Instance Methods

commit_transaction_records(*) click to toggle source

Defer execution of these tx-related callbacks invoked by DatabaseStatements.transaction() until after the XA tx is either committed or rolled back.

Calls superclass method
# File lib/torquebox/active_record_adapters.rb, line 64
def commit_transaction_records(*)
  super if Manager.current.should_commit?(self)
end
rollback_transaction_records(*) click to toggle source
Calls superclass method
# File lib/torquebox/active_record_adapters.rb, line 67
def rollback_transaction_records(*)
  super if Manager.current.should_rollback?(self)
end