lib/trackoid/aggregates.rb in trackoid-0.1.8 vs lib/trackoid/aggregates.rb in trackoid-0.1.9

- old
+ new

@@ -87,10 +87,10 @@ raise Errors::ClassAlreadyDefined.new(internal_aggregates_name) if foreign_class_defined? parent = self define_klass do include Mongoid::Document include Mongoid::Tracking - + # Make the relation to the original class belongs_to_related parent.name.demodulize.underscore.to_sym, :class_name => parent.name # Internal fields to track aggregation token and keys field :ns, :type => String