Hi,

Attached are links to two patches I submitted via the RoR Trac system
a week or so ago:
http://dev.rubyonrails.org/ticket/8305
http://dev.rubyonrails.org/ticket/8308

I refrained from creating a new Trac ticket for ARes, which will be
affected if both of these patches are accepted by Core.

There are a couple of workarounds for this issue, but it would be nice
for AR, AS and ARes to output valid XML and resolve to namespaced
models correctly from XML respectively.  Currently #to_xml on
ActiveRecord::Base and Array creates invalid XML output for namespaced
models.

For one of the workarounds (which unfortunately seems to break RSpec
partial mocks of models) see one of my blog postings at:
http://snakesgemscoffee.blogspot.com/2007/05/activerecordbasetoxml-woes.html

Comments are appreciated and I am open to creating a RubyGem or Rails
Plugin to fix this issue if it seems that the Core team do not want to
fix this in Rails any time soon.

Thanks.
SP


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to