This project is archived and is in readonly mode.

#5903 ✓resolved
Jeremy Holland

Enable lower camel-casing on to_xml

Reported by Jeremy Holland | November 1st, 2010 @ 03:14 AM

While the to_xml method on activemodel implementations and in the core extensions does allow you to pass :camelize => true as an option, it defaults to upper camel case and allows no alternative. I propose keeping the default behavior, but allowing it to accept :camelize => :lower to indicate that the tag names should be represented as lower camel-case, which is a requirement for certain XML specifications (e.g. OpenSocial XML format).

Comments and changes to this ticket

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=""></a>


Referenced by