On Mar 27, 5:33 pm, Erik Lindblad <e...@aldm.se> wrote:
> Hi Colin and thanks for the suggestion. But the problem is more
> intricate than this, I am afraid. The reason I want to keep the object
> is that it connects via sockets to a pool of servers (at least 4 of
> them). When the object is marshaled, either for storage in the session
> or in the db these connections are lost. Maybe there is another
> solution but as I understand it the only way to keep these connections
> is to keep the object itself, not a serialized copy.
>
I suspect class variables etc are only vanishing because you are in
development mode. In production mode they will persist.
Fred
--
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.
No comments:
Post a Comment