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 15
def audit_class
  @audit_class ||= Audit
end
config() { |self| ... } click to toggle source
# File lib/audited.rb, line 29
def config
  yield(self)
end
store() click to toggle source
# File lib/audited.rb, line 19
def store
  current_store_value = Thread.current.thread_variable_get(:audited_store)

  if current_store_value.nil?
    Thread.current.thread_variable_set(:audited_store, {})
  else
    current_store_value
  end
end