Class: Motor::ApplicationRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Motor::ApplicationRecord
- Defined in:
- app/models/motor/application_record.rb
Direct Known Subclasses
Alert, AlertLock, ApiConfig, Config, Dashboard, Form, Note, NoteTag, NoteTagTag, Notification, Query, Reminder, Resource, Tag, TaggableTag
Class Method Summary collapse
Class Method Details
.audited(*args) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'app/models/motor/application_record.rb', line 8 def self.audited(*args) default_class = Audited.audit_class Audited.audit_class = 'Motor::Audit' super ensure Audited.audit_class = default_class end |