Module: Tantot::Observe::ActiveRecordMethods

Extended by:
ActiveSupport::Concern
Defined in:
lib/tantot/observe.rb

Instance Method Summary collapse

Instance Method Details

#_watch_changesObject



44
45
46
# File 'lib/tantot/observe.rb', line 44

def _watch_changes
  Tantot.config.use_after_commit_callbacks ? self.previous_changes : self.changes
end