Sha256: 1da0b14790e5d05a9fb081117688496aeaa7dddc55ec8e48dfcb085faf6f0af4

Contents?: true

Size: 333 Bytes

Versions: 3

Compression:

Stored size: 333 Bytes

Contents

require 'easy_diff'

require 'mongoid/history'
require 'mongoid/history/version'
require 'mongoid/history/mongoid'
require 'mongoid/history/tracker'
require 'mongoid/history/trackable'

Mongoid::History.modifier_class_name = "User"
Mongoid::History.trackable_class_options = {}
Mongoid::History.current_user_method ||= :current_user

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid-history-0.4.4 lib/mongoid-history.rb
mongoid-history-0.4.3 lib/mongoid-history.rb
mongoid-history-0.4.2 lib/mongoid-history.rb