Class: HrLite::AuditLog

Inherits:
ApplicationRecord show all
Defined in:
app/models/hr_lite/audit_log.rb

Overview

Append-only trail of every governing-tier mutation. Rows are never updated or deleted; the leadership audit screen and the policy.changed email diff both read from here.

Instance Method Summary collapse

Instance Method Details

#readonly?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'app/models/hr_lite/audit_log.rb', line 13

def readonly?
  persisted?
end