On Jan 10, 2011, at 1:27 PM, Frederick Cheung wrote:
On Jan 10, 5:24 pm, Walter Lee Davis <[email protected]> wrote:
But no matter what I try to unserialize it, I always get an empty
array as the result. Is this because of the association overriding
my attempt to set a new array at the same name? I don't get any
errors, but I don't get any data either.
Is there also an association named children ?
No, children is just a text column on Composition, and Ad doesn't have
anything like it. I've tried the following in console: (paraphrasing
because I'm not at my computer)
c = Composition.find 39
[big hash of object data]
c.children
"" (empty string)
c.serialize_children
(big base64 string)
c.children
(same big.base64 string)
c.unserialize_children
[] (empty array)
Walter
Fred
Thanks in advance,
Walter
--
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-
[email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.