lib/mongoid-history.rb in mongoid-history-0.1.6 vs lib/mongoid-history.rb in mongoid-history-0.1.7
- old
+ new
@@ -4,8 +4,7 @@
require File.expand_path(File.dirname(__FILE__) + '/mongoid/history/tracker')
require File.expand_path(File.dirname(__FILE__) + '/mongoid/history/trackable')
require File.expand_path(File.dirname(__FILE__) + '/mongoid/history/sweeper')
Mongoid::History.modifier_class_name = "User"
-Mongoid::History.trackable_classes = []
Mongoid::History.trackable_class_options = {}
Mongoid::History.current_user_method ||= :current_user