Module: CommittedChanges
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/committed_changes.rb,
lib/committed_changes/version.rb
Constant Summary collapse
- VERSION =
"0.0.1"
Instance Method Summary collapse
-
#committed! ⇒ Object
Invoked by rails after record has been committed.
-
#committed_changes ⇒ Object
Returs hash of committed changes.
Instance Method Details
#committed! ⇒ Object
Invoked by rails after record has been committed
15 16 17 18 |
# File 'lib/committed_changes.rb', line 15 def committed! __changes_committed super end |
#committed_changes ⇒ Object
Returs hash of committed changes
10 11 12 |
# File 'lib/committed_changes.rb', line 10 def committed_changes @__committed_changes || {} end |