Application Error
Hell what do you mean ? Application Error ? That’s not plenty of details. I am new. Give me more.
After moving stuff around, removing a Model class, introducing a new one i kept getting this “Application Error” Message in my Browser.
The WEBBrick console did not show more information…
Taking a look at the log files in MY_APP/log revealed the cause:
Session contains objects whose class definition isn’t available.
Remember to require the classes for all objects kept in the session.
(Original exception: uninitialized constant Permission [NameError])
Hmmm…. yes… i removed an Model class which was previously stored in the session. After all this is my Playground. I remove as many classes as i wish. Dare you not to serve my webpages. Stupid WEBBrick.
The easy solution to this problem ?
just go to MY_APP/tmp/sessions and do a rm *
Tada… (perhaps there is a more subtle way of handling this… i don’t know)