All, I have an attribute on one of my model objects that cannot be serialized because it contains a Proc. Is there a way for me to mark this attribute as "not to be serialized/unserialized" so that session marshaling/unmarshaling won''t fail? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
Wes Gamble
2006-May-08 17:57 UTC
[Rails] Re: Handling "unmarshalable" model object attributes
I am looking for an equivalent to the "transient" modifier in Java, if that helps. Thanks, Wes Wes Gamble wrote:> All, > > I have an attribute on one of my model objects that cannot be serialized > because it contains a Proc. > > Is there a way for me to mark this attribute as "not to be > serialized/unserialized" so that session marshaling/unmarshaling won''t > fail? > > Thanks, > Wes-- Posted via http://www.ruby-forum.com/.
Reasonably Related Threads
- Marshal Data too short error with ActiveRecord sess. storage
- text_field doesn''t call overridden ActiveRecord getters
- Wrap error_messages_for() call when no instance var present
- About xapian serialization on float/double variables
- unserialize and eager execution