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

Popular posts from this blog

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -

c# - Pausing a storyboard on TabItem mouse over -

c# - Attribute value in root node of xml Linq to XML -