Displaying 1 result from an estimated 1 matches for "activerecordbasetoxml".
2007 May 17
4
Namespaced model valid #to_xml support in ActiveRecord, ActiveSupport and ActiveResource
...tly 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 subs...