module Audited
Constants
- VERSION
Attributes
audit_class[W]
auditing_enabled[RW]
current_user_method[RW]
ignored_attributes[RW]
max_audits[RW]
store_synthesized_enums[RW]
Public Class Methods
audit_class()
click to toggle source
# File lib/audited.rb, line 16 def audit_class # The audit_class is set as String in the initializer. It can not be constantized during initialization and must # be constantized at runtime. See https://github.com/collectiveidea/audited/issues/608 @audit_class = @audit_class.safe_constantize if @audit_class.is_a?(String) @audit_class ||= Audited::Audit end
Also aliased as: audit_model
audit_model()
remove audit_model
in next major version it was only shortly present in 5.1.0
Alias for: audit_class
config() { |self| ... }
click to toggle source
# File lib/audited.rb, line 31 def config yield(self) end
store()
click to toggle source
# File lib/audited.rb, line 27 def store RequestStore.store[:audited_store] ||= {} end