3 ms·
I was curious about why Rails parses YAML nested inside XML to begin with. Turns out it was put in way back when so that ActiveRecord's from_xml/to_xml work as
by caseyf 14y ago
I was curious about why Rails parses YAML nested inside XML to begin with. Turns out it was put in way back when so that ActiveRecord's from_xml/to_xml work as expected when a model contains serialized (ie. yaml) attributes.
Patch/issue from the old Rails issue tracker:
http://web.archive.org/web/20071218105822/http://dev.rubyonrails.org/ticket/7502 http://web.archive.org/web/20071218105822/http://dev.rubyonr...