search for: sessionrestoreerror

Displaying 4 results from an estimated 4 matches for "sessionrestoreerror".

2012 Jul 23
4
uninitialized constant ActionController::Flash::FlashHash [NameError])
...a very simple general ledger, that worked very well until June 26 does not work any longer. It is used under Ubuntu 12.04 and I believe there was a Ruby update after that. What happens? When I try to start the appIication I get the following output in my web browser: ActionDispatch::Session::SessionRestoreError 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 ActionController::Flash::FlashHash [NameError]) The environment is Rails 3.2.1 => Booting WEBrick =>...
2005 Mar 09
10
Confused about extending the login generator ''user''
...en using the login generator ''out of the box'' for simple authentication, and its been working fine. Now I want to extend it by simply adding ''type_id'' field which links to my ''user_types'' table, but I''m hitting: #<ActionController::SessionRestoreError: Session contained objects where the class definition wasn''t available. Remember to require classes for all objects kept in the session. The session has been deleted.> 1) My application.rb is straight from the README, ie: Require_dependency "login_system" class Applicat...
2005 Feb 22
2
RE: Relocating the directory for ruby_sess.* files
...data are stored on Windows, using Webrick in its default configuration? After storing an object into @session, I initially can access only the controller that has stored the object. Otherwise, the html page displays "Not found" and the Webrick console displays: #<ActionController::SessionRestoreError: Session contained objects where the class definition wasn''t available. Remember to require classes for all objects kept in the session. The session has been deleted.> Moreover, after having changed the model of the class, I''m not able to do anything! The initial controller al...
2004 Oct 25
1
Rails 0.8: Just shy of 100 additions, changes, tweaks, and fixes!
...erencing an action with the same name as a controller in url_for [what-a-day] * Fixed the destructive nature of Base#attributes= on the argument [Kevin Watt] * Changed ActionControllerError to decent from StandardError instead of Exception. It can now be caught by a generic rescue. * Added SessionRestoreError that is raised when a session being restored holds objects where there is no class available. * Added block as option for inline filters. So what used to be written as: before_filter Proc { |controller| return false if controller.params["stop_action"] } ...can now be as:...