Bug #681

Can't locate model/class User

Added by kevin - 833 days ago. Updated 295 days ago.

Status :New Start :
Priority :Normal Due date :
Assigned to :pdcawley - % Done :

0%

Category :backend
Target version :-
Resolution :


Description

When testing under WEBrick I ran into this issue twice, where after I performed an action, trying to access typo gave me an error because User was undefined, when demarshalling the session data. This obviously only affects an admin user, but it's annoying and I'm guessing related to pdcawley's recent changes.

History

03/25/2006 12:34 PM - pdcawley -

I'm not entirely sure what's going on here; I think it has to do with the way Rails dependencies work, and in particular how they work when you're reloading your classes every time. I've had problems with things working for the first request, but breaking on subsequent requests because something got flushed but not reloaded.

I don't think the same problem arises in production mode though.

Also available in: Atom PDF