Mattias

Results 13 comments of Mattias

Hi @tagliala, thanks. Anyone interested in doing a rerelease and maintaining it?

Wouldn't it be possible to do something like this? Mongoid::Tracking::Aggregates ``` def aggregate(args*, &block) *omitted* name = args.shift define_aggregate_model(args.extract_options!) if aggregate_klass.nil? *omitted* end ``` ``` def define_aggregate_model(args) field :key, args...

Ok, after some testing. It does seem to work if I add the user_id manually. However if I change the type of the user, user_id on associated documents gets nil'ed....