Sha256: 1a16716c4c1eb4675406c6a4685708870d88b86e8af33ddffd1f6f99cd5833e5

Contents?: true

Size: 438 Bytes

Versions: 15

Compression:

Stored size: 438 Bytes

Contents

require 'active_record'
require 'notifiably_audited/auditor'
require 'notifiably_audited/adapters/active_record/audit'

module NotifiablyAudited::Auditor::ClassMethods
  def default_ignored_attributes
    [self.primary_key, inheritance_column]
  end
end

::ActiveRecord::Base.send :include, NotifiablyAudited::Auditor

NotifiablyAudited.audit_class = NotifiablyAudited::Adapters::ActiveRecord::Audit

require 'notifiably_audited/sweeper'

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
notifiably_audited-activerecord-1.0.10 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-1.0.9 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-1.0.8 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-1.0.7 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-1.0.6 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-1.0.5 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-1.0.4 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-1.0.3 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-1.0.2 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-1.0.1 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-1.0.0 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-0.1.15 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-0.1.14 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-0.1.12 lib/notifiably_audited/adapters/active_record.rb
notifiably_audited-activerecord-0.1.11 lib/notifiably_audited/adapters/active_record.rb