Closed dkinzer closed 4 years ago
If field_def is nil then field_def[foo] throws no method [] defined for nil error. This change fixes that issue.
field_def
nil
field_def[foo]
[]
If
field_def
isnil
thenfield_def[foo]
throws no method[]
defined fornil
error. This change fixes that issue.