Take a look at this ancient thread:
http://groups.google.com/group/activescaffold/browse_thread/thread/4d05202808be9404/a0f5a74411babebf?lnk=gst&q=session#a0f5a74411babebf
It describes everything ActiveScaffold stores in the Rails session.
Okay, no biggie... but apparently it doesn't delete them! If you
periodically check the session as with:
puts session.inspect
you'll see the same stuff Lance Ivy said would be in the session, but
I see many instances of it.
In other words, you start your app up, view a scaffold, the session
now contains the constraints, etc, for the scaffold... then you go
somewhere else in the application, come back and view the scaffold
again, now you have another copy of those session vars. Eventually the
session will build to its max (~40K) and you'll get either the "cookie
session storage exceeded" error or the more common 500 Internal Server
Error. This is at least what is happening to me, and I have a major
commercial application, and I need to assess this problem.
Is ActiveScaffold doing this to cache the results? e.g., make viewing
the scaffold go faster, given it has the same constraints?
Anyway to safely delete these session vars?