Hacker News new | ask | show | jobs
by caseyf 4905 days 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.rubyonr...