Displaying 1 result from an estimated 1 matches for "cclearn".
2006 May 02
0
YAML failing to de-serialize
...39;'m seeing this same problem that Josh was seeing back on March 23rd
(see below)
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 objec...