[EMAIL PROTECTED] wrote:
The "lob.write value" call does not take into account that "value" may
be a serialized attribute. To fix this I changed "lob.write value" to:
lob.write self.class.serialized_attributes[c.name] ? value.to_yaml :
value
I am not entirely certain that doing "value.to_yaml" is the best way to
get at the serialized representation of an attribute but it works for
my code.
Would you be able to provide a failing ActiveRecord test for this?
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-core@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---