aq1018/mongoid_taggable_with_context

taggable_with_context gem won't work with embedded documents

lgs opened this issue · 0 comments

lgs commented

There is an issue in taggable_with_context gem : it won't work with embedded documents. Please have a look at the following mongoid thread :

https://github.com/mongoid/mongoid/issues/1280#issuecomment-2186244

see line 49: coll = self.class.db.collection(self.class.aggregation_collection_for(context)) into :

https://github.com/aq1018/mongoid_taggable_with_context/blob/v0.6.2/lib/mongoid/taggable_with_context/aggregation_strategy/real_time.rb#L49