This project is archived and is in readonly mode.
Changeset [e87e3db200e5b711237da8bcdc873044a984ad90] by Bernerd Schaefer
Revision e87e3db200e5b711237da8bcdc873044a984ad90,
committed by Bernerd Schaefer
· July 26th, 2010 @ 05:48 PM
XmlMini.rename_key emits valid xml with dasherize
This resolves issues for libraries which use '' prefixed
keys in their
attributes hash, such as Mongoid. A key like "id" or "_type"
will no
longer be converted to "<-id>" and "<-type>".
Signed-off-by: wycats wycats@gmail.com
http://github.com/rails/rails/commit/e87e3db200e5b711237da8bcdc8730...
2 changed files
-
A
activesupport/test/test_xml_mini.rb -
M
activesupport/lib/active_support/xml_mini.rb