-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
Affects Version/s: 1.10.0
-
Component/s: Public API
$DB['some_coll'].update(
,
{'$set' => { 'some_field' => 'some_value' }}
)
will update correctly most of the time and yield something like:
but if the value to be updated is null, it returns similarly, but fails to update the value. Deleting the field (from MongoHub) and running the exact same thing will be successful. Loading the doc (.find_one()), and then saving it (.save()) with the updates made in ruby, is also successful.