Robert,
Monkeypatch the to_xml() method.
Or create a patch where to_xml() could take a :underscore => false
parameter and submit to trac. Perhaps others would want this
functionality…
Robert,
Monkeypatch the to_xml() method.
Or create a patch where to_xml() could take a :underscore => false
parameter and submit to trac. Perhaps others would want this
functionality…
I put in a patch that was committed into RoR Edge where you can pass
:dasherize
=> false to to_xml() and it won’t dasherize your attributes. Hopefully,
it’ll
be in 1.2.
Regards,
Blair
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.