mongo_mapper_tagger
is a dead-simple tagging system for MongoMapper.
It provides user-agnostic unique tags for models.
Note: MongoMapper Tagger is very much a work in progress. Let me know if you find bugs/feel free to open a PR!
Tested on Ruby 2.2.2 with MongoMapper 0.13.1
It's as simple as a gem install mongo_mapper_tagger
and including plugin MongoMapper::Plugins::MongoMapperTagger
on
the model you want to enable tagging for:
class PhoneNumber
include MongoMapper::Document
plugin MongoMapper::Plugins::MongoMapperTagger
...
end
Currently located at RubyDoc