[Mongrel] Error on Windows and FreeBSD

hemant
2006-09-07T20:15:37Z

I can add some of my own....name collisions here: you shouldn''t have a
table
called messages and you shouldn''t have a column called quote.


On 9/7/06, Kris Leech <krisleech at interkonect.com>
wrote:
>
> 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?
>
> >
> >
> >
>
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>



--
nothing much to talk
-------------- next part --------------
An HTML attachment was scrubbed...