search for: _dump

Displaying 4 results from an estimated 4 matches for "_dump".

Did you mean: dump
2006 Jul 25
1
can''t dump: session wierdness
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'...
2006 Mar 13
4
Storing model object in session in EdgeRails
I''m having a problem with sessions since upgrading to EdgeRails. Against certain recomendations, I''m storing the current user''s model object in the session. This worked fine in 1.0 and earlier, but now I am noticing that any time I reference the associated objects for an object stored in the session, the associated objects get copied into the session! For example,
2006 Aug 08
2
"include DRbUndumped" error
...del. Does anyone know why this is so? Is it possible that an object cannot be DRbUndumped (that would mean, we can''t ever pass a reference to such object across DRb for BackgrounDrb to process)? Thanks! Philip TypeError (can''t dump): /usr/lib/ruby/1.8/drb/drb.rb:395:in `_dump'' /usr/lib/ruby/1.8/pstore.rb:348:in `dump'' /usr/lib/ruby/1.8/pstore.rb:326: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:...
2005 Mar 09
21
Converting time retrieved from MySQL
I''m having a problem converting a date retrieved from my MySQL database and I''m hoping someone can help. MySQL stores the date/time as this: 2005-03-08 17:00:34.0 and according to my Pickaxe book Ruby stores times as "the number of seconds and microseconds since [...] January 1, 1970". All well and good. Unfortunately, RoR is converting my date to this: