You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following line references content_type but if you have created the client with use_camel_case: true, the keys of sys have been instantiated using camelCase (e.g. it should be contentType in this case), and a nil reference error is thrown trying to access sys[:content_type].id
The following line references
content_type
but if you have created the client withuse_camel_case: true
, thekeys
ofsys
have been instantiated using camelCase (e.g. it should becontentType
in this case), and a nil reference error is thrown trying to accesssys[:content_type].id
contentful.rb/lib/contentful/entry.rb
Line 108 in 487d044
This makes it impossible to use camel casing while also referencing fields that might be empty.
The text was updated successfully, but these errors were encountered: