You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A feature request to add the option to specify the tag aggregation collection name to be used. Having this option will allow the sharing of the tag name in different models, i.e., share the same context. For example,
class Artist
include Mongoid::Document
include Mongoid::TaggableWithContext
include Mongoid::TaggableWithContext::AggregationStrategy::RealTime
alternatively for map-reduce
include Mongoid::TaggableWithContext::AggregationStrategy::MapReduce
taggable :genres, :aggregation_name => 'genre_tags'
..............
end
class Song
include Mongoid::Document
include Mongoid::TaggableWithContext
include Mongoid::TaggableWithContext::AggregationStrategy::RealTime
alternatively for map-reduce
include Mongoid::TaggableWithContext::AggregationStrategy::MapReduce
taggable :genres, :aggregation_name => 'genre_tags'
..............
end
The text was updated successfully, but these errors were encountered:
A feature request to add the option to specify the tag aggregation collection name to be used. Having this option will allow the sharing of the tag name in different models, i.e., share the same context. For example,
class Artist
include Mongoid::Document
include Mongoid::TaggableWithContext
include Mongoid::TaggableWithContext::AggregationStrategy::RealTime
alternatively for map-reduce
include Mongoid::TaggableWithContext::AggregationStrategy::MapReduce
taggable :genres, :aggregation_name => 'genre_tags'
..............
end
class Song
include Mongoid::Document
include Mongoid::TaggableWithContext
include Mongoid::TaggableWithContext::AggregationStrategy::RealTime
alternatively for map-reduce
include Mongoid::TaggableWithContext::AggregationStrategy::MapReduce
taggable :genres, :aggregation_name => 'genre_tags'
..............
end
The text was updated successfully, but these errors were encountered: