Displaying 1 result from an estimated 1 matches for "nnew_record".
Did you mean:
new_record
2006 May 02
0
YAML failing to de-serialize
...ow)
I''ve got the following YAML snippet stored in a text field:
"--- !ruby/object:FieldValue \nattributes: \n item_id: 60\n title:
Test\n field_id: 15\n created_by_id: 5\n locale: en\n link:
www.cclearn.com\n comment: this is a test\n created_at: 2006-05-02
15:43:14.256792 Z\nnew_record: true\n"
When deserialize this using YAML.load and the FieldValue class is not
loaded I successfully get a YAML::Object.
However is FieldValue is loaded I get an error:
NoMethodError: You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The...