Displaying 1 result from an estimated 1 matches for "serializable_attribut".
Did you mean:
serializable_attributes
2007 Nov 07
1
Serialization of ActiveRecord Instances: No Inheritance Column?
Hey,
I have been looking at ActiveRecord''s serialization code, and noticed
that ActiveRecord::XmlSerializer#serializable_attributes purposely
excludes the STI inheritance column per ``options[:except] =
Array(options[:except]) | Array(@record.class.inheritance_column).''''
Is there a particular reason for this? Would anyone be opposed to my
writing a patch to have this attribute be included?
Cheers,
Matt
-...