brucek
2008-Dec-09 01:16 UTC
[PATCH] Allow ActiveRecord XML Serialization to use CamelCase names
I''ve been working on a project that needed some ActiveRecord -> XML conversion, but they have standardized on CamelCased names in their XML. I created a patch adding a :camelize option and added it to Lighthouse since I figured I''m probably not alone: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1534 I''ve included tests and the patch does round trip to_xml and from_xml with CamelCased names. Anyone willing to take a look/provide feedback? Thanks, Bruce --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---