This project is archived and is in readonly mode.

Changeset [e87e3db200e5b711237da8bcdc873044a984ad90] 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...

Committed by Bernerd Schaefer

  • A activesupport/test/test_xml_mini.rb
  • M activesupport/lib/active_support/xml_mini.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>