How do i prevent mongoid from saving default values when doing an update_attributes( )? -
is there way in mongoid?
i existing fields stay nil , not take on model's 'default' property.
there no way in mongoid, suggest open feature request https://github.com/mongoid/mongoid/issues/new
Comments
Post a Comment