Ruby on Rails Wednesday, July 25, 2012

Thanks!
Seems your description is relevant, see answer to previous advice.

Den onsdagen den 25:e juli 2012 kl. 11:22:14 UTC+2 skrev Frederick Cheung:


On Monday, July 23, 2012 9:43:49 PM UTC+1, Tommy Pollák wrote:


The clue is this


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 session contains serialised ruby objects and in this instance contains an object that rails couldn't deserialize. If my memory is correct, ActionController::Flash::FlashHash was the name of the class that held the session values in older versions of rails - it looks like you might have accidentally upgraded rails. Clearing out sessions should fix this, although the upgrade might of course cause problems elsewhere.

Fred

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/UTRDa5rNlsoJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment