I discovered today that Rails class variables are refreshed in
development mode (because classes are reloaded). How else can you
persist class variables in memory? I know it is possible, because the
exception_notification plugin does it.
I don’t think they use session variables, because I dumped the session
object and it looked like the info that I was looking for wasn’t
there. They also don’t use a database.