Sha256: 73b9d3d5fa2d75aca620d77e3d7ce59fd56eb1a68fa5cd98a825edc83629a9fb

Contents?: true

Size: 329 Bytes

Versions: 8

Compression:

Stored size: 329 Bytes

Contents

module Audited
  VERSION = '3.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

8 entries across 6 versions & 1 rubygems

Version Path
notifiably_audited-3.0.0 lib/audited.rb
notifiably_audited-0.0.7 lib/audited.rb
notifiably_audited-0.0.7 lib/notifiably_audited.rb
notifiably_audited-0.0.5 lib/notifiably_audited.rb
notifiably_audited-0.0.5 lib/audited.rb
notifiably_audited-0.0.4 lib/audited.rb
notifiably_audited-0.0.3 lib/audited.rb
notifiably_audited-0.0.2 lib/audited.rb