Forum: Ruby on Rails Can't dump anonymous class? Need help please!

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
328f0bb678423fcea01ebe3b0edc74e6?d=identicon&s=25 Ben Johnson (benjohnson)
on 2007-03-22 18:05
I am trying to Marshal.dump and object and I am getting this error:

can't dump anonymous class #<Class:0x2fadbb8>

I wrote a very simple class that plugs into my rails app. Whenever I try
to store an object of it in the session I get that error. What exactly
does this error mean?

Thanks for your help.
This topic is locked and can not be replied to.