Sha256: 69cf78ff09e6cc0101c6280c82b32148d9b2ab7de9ed4d5c825507e4203ed72f
Contents?: true
Size: 208 Bytes
Versions: 3
Compression:
Stored size: 208 Bytes
Contents
module TrackChanges class AroundSave #:nodoc: def self.around_save(model) model.send(:track_changes_get_changes) yield model.send(:track_changes_save_audit) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
track_changes-1.0.0.pre3 | lib/track_changes/around_save.rb |
track_changes-1.0.0.pre2 | lib/track_changes/around_save.rb |
track_changes-1.0.0.pre1 | lib/track_changes/around_save.rb |