Module: OpenLoam::Auditable
- Extended by:
- ActiveSupport::Concern
- Included in:
- BusinessRule, DashboardWidget, Dictionary, DictionaryEntry, PendingAction, Perspective, ScheduledJob, SsoProvider, Translation
- Defined in:
- lib/open_loam/auditable.rb
Overview
Audit-by-default. Included in every generated entity: create/update/destroy writes a OpenLoam::AuditRecord tagged with tenant + actor + changeset. "Who changed the excavator's price, and when" is answered structurally, not by remembering to log.
Constant Summary collapse
- IGNORED_ATTRIBUTES =
%w[updated_at created_at].freeze