rails/rails — pull request #7184 by anthonyalberto (2012-07-27 20:36:26+00:00)
Title: to_xml dasherize option should be passed to included associations

Following the false issue reported here : https://github.com/rails/rails/issues/6958

Here's the commit that passes the dasherize parameter to included associations when using to_xml.
This way we don't have to repeat :dasherize on every single included models. It can become messy pretty fast on big xml dumps!

bundle exec rake test passes in activemodel.

Tell me if anything's missing!