search for: to_xml_without_colon_fixer

Displaying 1 result from an estimated 1 matches for "to_xml_without_colon_fixer".

2008 May 24
1
to_xml for Foo::Bar active records
20 / 20 hind sight, I would probably do things different today but I have most of my active record classes under different parent classes. For example: module Foo class Bar < ActiveRecord::Base ... end end The to_xml for this produces <foo/bar> .... </foo/bar> The / in a tag name is not allowed. Questions: 1) Is this a bug? 2) If so, suggestion of what to convert it to?