[Mongrel] first request always fails

Zed Shaw zedshaw at zedshaw.com
Sun Sep 3 10:24:06 EDT 2006


On Sun, 2006-09-03 at 16:12 +0200, Jeroen Houben wrote:
> Hi,
> 
> Whenever I restart mongrel on my production server, the first request in 
> my browser always fails, I get this error:
> 
> Processing Base#index (for 83.xx.xx.xx at 2006-09-03 16:08:47) [GET]
>    Session ID: f1918346d193e19a70c3230286e5ce1a
>    Parameters: {}
> 
> 
> TypeError (superclass mismatch for class Stats):
>      /app/models/stats.rb:1

Ah, there's a Stats class already in Mongrel but it's not in the mongrel
module.  I'll move that over and see if it breaks anyone.


-- 
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.



More information about the Mongrel-users mailing list