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
For one of the workarounds (which unfortunately seems to break RSpec
partial mocks of models) see one of my blog postings at:
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.