mongoid_taggable_with_context icon indicating copy to clipboard operation
mongoid_taggable_with_context copied to clipboard

default value

Open lgs opened this issue 13 years ago • 1 comments

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

lgs avatar Oct 12 '11 19:10 lgs

I'll implement this in a future release

aq1018 avatar Dec 20 '11 08:12 aq1018