Hi, could someone please have a look at this patch:
[PATCH] Add XML namespace prefix option to ActiveRecord #to_xml
http://dev.rubyonrails.org/ticket/9061
Proposed syntax is as follows:
firm.to_xml :namespace=> {:prefix => "contact", :name => "http://
xml.rubyonrails.org/contact"}
<firm xmlns:contact="http://xml.rubyonrails.org/contact">
# ... attributes ...
</firm>
This change does not break the existing API.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---