[Mongrel] Error on Windows and FreeBSD

Kris Leech
2006-09-07T08:23:27Z

Zed Shaw wrote:

>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.
>
>
I see. Hence why it works with webrick and not mongrel. I think we need
a page in the wiki about possible name clashes, is it all classes in
mongrel that will clash or just specific ones?
I feel a bit out of order saying this, but would Stop, Start etc. not be
better as methods to a single class?

>
>
>