Sha256: 5088f8d2f65b066e552a5e8f30589b98292086d8d510dd709ddce7a88793a2d7

Contents?: true

Size: 536 Bytes

Versions: 3

Compression:

Stored size: 536 Bytes

Contents

require 'mongoid'
require 'mongoid/history'
require 'mongoid_userstamp'
require 'kaminari'
require 'kaminari/hooks'
require 'kaminari/mongoid/mongoid_extension'

require 'mongoid-audit/version'
require 'mongoid-audit/trackable'
require 'mongoid-audit/railtie'

begin; require 'rails_admin'; rescue LoadError; end
if defined? ::RailsAdmin
  require "mongoid-audit/rails_admin"
end

Mongoid::History.tracker_class_name = :history_tracker
Mongoid::History.current_user_method = :current_user
Mongoid::History.modifier_class_name = "User"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid-audit-1.3.0 lib/mongoid-audit.rb
mongoid-audit-1.2.2 lib/mongoid-audit.rb
mongoid-audit-1.2.1 lib/mongoid-audit.rb