Module: Auditlog::ModelTracker::ClassMethods
- Defined in:
- lib/auditlog/model_tracker.rb
Instance Method Summary collapse
Instance Method Details
#track(options = {}) ⇒ Object
9 10 11 12 13 |
# File 'lib/auditlog/model_tracker.rb', line 9 def track( = {}) self.after_save do Auditlog::Tracker.track_changes(self, ) end end |