When I call to_xml on my active record objects, it replaces
underscores with hypens. E.g.:
When the actual field is content_provider_id. I remember seeing an
option for this somewhere… Any ideas?
When I call to_xml on my active record objects, it replaces
underscores with hypens. E.g.:
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?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs