mongoid_taggable_with_context
mongoid_taggable_with_context copied to clipboard
default value
What's the best way to define default value ?
Something like :
field :tags, type: String, default: "all"
Do I have to overwrite the model, putting the previous together with Mongoid::TaggableOnContext
and taggable
or what ?
Thanks in advance Luca
I'll implement this in a future release