Allowing to_xml to rename keys in lower camel case format

Hi all,
I’ve created and submitted a patch to resolve an issue I had while attempting to meet the OpenSocial API specifications, which dictates that the xml output have tags formatted as lower camelcase (as opposed to upper camelcase, which is currently the only option). With this patch, simply passing :camelize => true still begets the current behavior, but you can now enable lower camel-casing by passing :camelize => :lower. Please have a look if you get the chance - I appreciate your feedback.


Seems good to me. I'll apply it after I verify the tests pass.