[Mongrel] Error on Windows and FreeBSD

Berger, Daniel
2006-09-06T20:56:01Z

> From: mongrel-users-bounces at rubyforge.org
> [mailto:mongrel-users-bounces at rubyforge.org] On Behalf Of Zed Shaw
> Sent: Wednesday, September 06, 2006 2:24 PM
> To: mongrel-users at rubyforge.org
> Subject: Re: [Mongrel] Error on Windows and FreeBSD
>
>
> 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.

Are these classes not wrapped in a ''Mongrel'' module? If not,
it might be
worth considering.  If so, well, nevermind then.

Regards,

Dan


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.