I found this solution:
http://wrath.rubyonrails.org/pipermail/rails/2006-July/057420.html
Are there any better ideas out there?
I found this solution:
http://wrath.rubyonrails.org/pipermail/rails/2006-July/057420.html
Are there any better ideas out there?
I’m unsure of the problem as stated, but to_xml takes a boolean :dasherize option.
jeremy
This didn't seem to work for me (1.1.6):
render :xml=>@items.to_xml(:dasherize =>false)
Try it on edge (soon to be 1.2).
jeremy