Skip to content

How to update an entry with empty fields? #123

@julianrubisch

Description

I have got a feeling that I'm missing something very basic here, please pardon me.

I have a very basic CTF model with some string attributes, some of which are not required, i.e. empty.

With return_nil_for_empty I can have their values be coerced to nil, but as it seems there's no way of setting them? I get NoMethodErrors for every attr_writer to a non-required field that is blank, hence not returned by the contentful API.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions