Florian Aßmann wrote:
> something wrong with ActiveRecord or YAML? They don''t put Strings
> into Quotes when it serializes. This gave me trouble when I
> serialized a String with a double colon (eg. ''key:
value''). After AR
> unserialized the Value it became a Hash since a String ''key:
value''
> becomes attribute[:key] => value... :(
Yes, this is an ActiveRecord bug. It''s not YAMLizing String objects
when writing to the DB, but is de-YAMLizing when reading from the DB.
--
We develop, watch us RoR, in numbers too big to ignore.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---