Forum: Ruby on Rails ActiveRecord Base, undefined method in mongrel but works in

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sean Fioritto (Guest)
on 2006-05-25 13:26
(Received via mailing list)
Hey all,

I have a problem where for one class in my web application, any of the
methods inherited from activeRecord Base do not work using Mongrel,
but everything works perfectly using webbrick.

Any pointers would be great since I'm rather befuddled. Also, if more
information is needed to help figure this out just let me know.


Here are two example error messages:

Example 1:

undefined method `count' for Stop:Class

#{RAILS_ROOT}/app/controllers/admin/stop_controller.rb:8:in `list'
#{RAILS_ROOT}/app/controllers/admin/stop_controller.rb:3:in `index'

Example 2:

undefined method `find' for Stop:Class

#{RAILS_ROOT}/app/controllers/admin/route_controller.rb:8:in `index'
This topic is locked and can not be replied to.