On Jan 10, 8:26 pm, Walter Lee Davis <[email protected]> wrote: > On Jan 10, 2:56 pm, Frederick Cheung <[email protected]> > wrote:
> > > > 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) > > > Does it make any difference if you dump self.ads.to_a instead of self.ads? > > > Fred > > Then I get what looks like an empty array in base64 on the input, and > on the output. What does the non base64 encoded, dumped version of self.ads look like. What is the value of self.ads ? Fred > > Walter > > > > > > > > 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 [email protected]. > > >> To unsubscribe from this group, send email to > > >> [email protected]. > > >> For more options, visit this group > > >> athttp://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 > > > athttp://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.

