[Backgroundrb-devel] can't dump: session wierdness

Ezra Zygmuntowicz ezmobius at gmail.com
Tue Jul 25 19:59:17 EDT 2006

On Jul 25, 2006, at 4:49 PM, James Hughes wrote:

> Hi,
> I have "include DRbUndumped" in one of my model classes. Whenever my
> app accesses the session I get the following:
> can't dump
> /usr/lib/ruby/1.8/drb/drb.rb:395:in `_dump'
> /usr/lib/ruby/1.8/pstore.rb:349:in `dump'
> /usr/lib/ruby/1.8/pstore.rb:327:in `transaction'
> /usr/lib/ruby/1.8/cgi/session/pstore.rb:90:in `update'
> /usr/lib/ruby/1.8/cgi/session/pstore.rb:97:in `close'
> /usr/lib/ruby/1.8/cgi/session.rb:330:in `close'
> <snip rest of stack trace>
> Any thoughts on what is happening here?
> jh
> --  
> James Hughes
> Web application developer
> Vancouver, BC

Hey James-

	What are you trying to store in the session? Are you storing the  
entire model object or just the id? I've seen that error when you try  
to store something in the session that can't be marshaled.


More information about the Backgroundrb-devel mailing list