Sha256: 924a9554b28e9681b3c1e0b98187fa5511709333b106aee55cf806776e08629e
Contents?: true
Size: 365 Bytes
Versions: 17
Compression:
Stored size: 365 Bytes
Contents
require 'active_record' require 'audited/auditor' require 'audited/adapters/active_record/audit' module Audited::Auditor::ClassMethods def default_ignored_attributes [self.primary_key, inheritance_column] end end ::ActiveRecord::Base.send :include, Audited::Auditor Audited.audit_class = Audited::Adapters::ActiveRecord::Audit require 'audited/sweeper'
Version data entries
17 entries across 17 versions & 4 rubygems