Saturday, April 2, 2011

[Rails] Help with serialize

Hi,

I'm having problems with serialize helper method. The data serialization is OK, the problem is when I retrieve the object from database later the serialized attribute is not loaded (=nil). I'm trying to implement the Serialized LOB design pattern, do you think there is a better way to do it? What I'm trying to serialize/deserialize is an array of OpenStruct.

Any help will be very appreciated.

Thanks in advance,
Gustavo Honorato

--
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@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate