Module: ActsAsLoggable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/acts_as_loggable.rb
Defined Under Namespace
Modules: ActiveRecord, ClassMethods
Instance Method Summary collapse
-
#log_changes_datatable ⇒ Object
Regular instance methods.
Instance Method Details
#log_changes_datatable ⇒ Object
Regular instance methods
54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'app/models/concerns/acts_as_loggable.rb', line 54 def log_changes_datatable if persisted? @log_changes_datatable ||= ( Effective::Datatables::Logs.new( associated_id: id, associated_type: self.class.name, status: false, log_changes: true ) ) end end |