[Mongrel] Error on Windows and FreeBSD

Zed Shaw zedshaw at zedshaw.com
Wed Sep 6 16:24:19 EDT 2006


On Wed, 2006-09-06 at 14:42 +0100, Kris Leech wrote:
> First off Windows, because actually what I appear to be getting is a 
> Rails error which only occurs when I use Mongrel, using Webrick I do not 
> get this error.
> I start Mongrel using:
> mongrel_rails start
> 
> I have mongrel, win32-services and mongrel-service gems installed even 
> through Im not using mongrel as a service at the moment.
> 
> The whole application works apart from one action. The error I get is:
> 
> 
>   NoMethodError in SearchController#results
> 
> undefined method `table_name' for Stop:Class

Mongrel already has created a class called "Stop", so your class is
conflicting with it.

Basically, Stop, Start, Restart, are all classes in mongrel to make the
commands work.


-- 
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