Module: TorqueBox::Transactions::ActiveRecordAdapters::XAResource

Defined in:
transactions/lib/torquebox/active_record_adapters.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) commit_transaction_records



64
65
66
# File 'transactions/lib/torquebox/active_record_adapters.rb', line 64

def commit_transaction_records(*)
  super if Manager.current.should_commit?(self)
end

- (Object) rollback_transaction_records



67
68
69
# File 'transactions/lib/torquebox/active_record_adapters.rb', line 67

def rollback_transaction_records(*)
  super if Manager.current.should_rollback?(self)
end