Capsule needs a value for a custom field, otherwise the PUT operation is ignored.
Bug is at: serializer.cleaned_attributes where it checks value.blank?, however becuase false.blank? returns true the boolean key is excluded from the generated JSON.
Further investigating seems to suggest that while the output of to_capsule_json looks wrong for a boolean false, it works correctly with Capsule itself.
Test case:
Capsule needs a value for a custom field, otherwise the PUT operation is ignored.
Bug is at: serializer.cleaned_attributes where it checks
value.blank?
, however becuasefalse.blank?
returns true theboolean
key is excluded from the generated JSON.