Class: Dscf::Core::AuditLog
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Dscf::Core::AuditLog
- Defined in:
- app/models/dscf/core/audit_log.rb
Class Method Summary collapse
- .ransackable_associations(_auth_object = nil) ⇒ Object
- .ransackable_attributes(_auth_object = nil) ⇒ Object
Class Method Details
.ransackable_associations(_auth_object = nil) ⇒ Object
21 22 23 |
# File 'app/models/dscf/core/audit_log.rb', line 21 def self.ransackable_associations(_auth_object = nil) %w[auditable actor] end |
.ransackable_attributes(_auth_object = nil) ⇒ Object
17 18 19 |
# File 'app/models/dscf/core/audit_log.rb', line 17 def self.ransackable_attributes(_auth_object = nil) %w[id auditable_type auditable_id action created_at updated_at] end |