[Ruby] Any help on how to debug a Rails RuntimeError?

Laurel Fan laurel.fan at gmail.com
Sun Apr 22 08:42:11 PDT 2007


You're using memcached for your session store.  Assuming that the
memcached gurus on this list don't say "hey, I know what that is!",
one step would be to isolate it to a problem with memcache, the
session store, or elsewhere.  Does storing other stuff in memcache
work?  If you switch to the filesystem store does it work?  Are you
storing just hashes or other kinds of objects in the session, and does
storing them in memcache work?

Why is that RuntimeError printing the session, that's usually where an
error message string goes, right?

Do you know about breakpoint and script/console?  They can be very
useful for problems that seem to only reproduce themselves in specific
environments.

-- 
Laurel Fan
http://blog.gorgorg.org


More information about the Ruby mailing list