Open lgs opened 13 years ago
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 ?
Mongoid::TaggableOnContext
taggable
Thanks in advance Luca
I'll implement this in a future release
What's the best way to define default value ?
Something like :
Do I have to overwrite the model, putting the previous together with
Mongoid::TaggableOnContext
andtaggable
or what ?Thanks in advance Luca