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
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