To_xml node names with underscores

When I call to_xml on my active record objects, it replaces
underscores with hypens. E.g.:

1 2 Traffic Alerts

When the actual field is content_provider_id. I remember seeing an
option for this somewhere… Any ideas?

http://api.rubyonrails.com/classes/ActiveRecord/XmlSerialization.html

Found it. What’s the point of dasherizing anyways?