Module: AppmospheresAudit::RecordTrail::ClassMethods

Defined in:
lib/appmospheres_audit.rb

Instance Method Summary collapse

Instance Method Details

#enable_record_trackingObject



49
50
51
52
53
54
# File 'lib/appmospheres_audit.rb', line 49

def enable_record_tracking
  # set up after filters for create/update/destroy
  after_create :track_create
  after_update :track_update
  after_destroy :track_destroy
end