Module: ArTransactionChanges
- Defined in:
- lib/ar_transaction_changes.rb,
lib/ar_transaction_changes/version.rb
Constant Summary collapse
- VERSION =
"1.1.3"
Instance Method Summary collapse
- #_run_commit_callbacks ⇒ Object
- #_run_rollback_callbacks ⇒ Object
- #transaction_changed_attributes ⇒ Object
Instance Method Details
#_run_commit_callbacks ⇒ Object
5 6 7 8 9 |
# File 'lib/ar_transaction_changes.rb', line 5 def _run_commit_callbacks super ensure @transaction_changed_attributes = nil end |
#_run_rollback_callbacks ⇒ Object
11 12 13 14 15 |
# File 'lib/ar_transaction_changes.rb', line 11 def _run_rollback_callbacks super ensure @transaction_changed_attributes = nil end |
#transaction_changed_attributes ⇒ Object
17 18 19 |
# File 'lib/ar_transaction_changes.rb', line 17 def transaction_changed_attributes @transaction_changed_attributes ||= HashWithIndifferentAccess.new end |