Sha256: d57b0e02178a65c8ba6d5150a2fd0f8ab6dea3c44deff593c40d04c62a85f33c

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

require 'rails/observers/active_model/active_model' 


module Audited
  VERSION = '4.0.0'

  class << self
    attr_accessor :ignored_attributes, :current_user_method, :audit_class

    def store
      Thread.current[:audited_store] ||= {}
    end
  end

  @ignored_attributes = %w(lock_version created_at updated_at created_on updated_on)

  @current_user_method = :current_user
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
audited-4.0.0 lib/audited.rb
audited-4.0.0.rc1 lib/audited.rb