mongoid/mongoid — Issue #1567: Mongoid fails to save document if I try to set Boolean field to false inside "before save" callback
Author: lexer
Created: 2012-01-09 08:28:33+00:00
State: open

In my model i've got a before save callback that sets Boolen field to false.

When Im trying to peform update_attributes, mongoid fails to save the model.

However when Im trying to set field to true it works, also there is no problem with strings.