Forum: Ruby on Rails Intermittent failure to automatically include all models

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Eca15b2b601e7e577d38bd5210a753ac?d=identicon&s=25 Carl Youngblood (Guest)
on 2006-05-25 07:48
(Received via mailing list)
I have two models in my rails app that inherit from ValidatingBase
instead of ActiveRecord.  I didn't start having this issue until I
switched to Planet Argon, running lighttpd, but I've started to get
errors where one or the other models doesn't get included and I get an
"uninitialized constant ModelName" error.  The weirdest thing is that
when I restart lighty it sometimes includes one of the models and
sometimes the other model, so my errors seem to vary.  Has anyone seen
this before?  Is there a way I can make my app load certain models
explicity to avoid this bug?

Thanks,
Carl
This topic is locked and can not be replied to.