Forum: Ruby on Rails Random Model Errors

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.
D9d1b31a337f46ac5e4dd56b55404f58?d=identicon&s=25 Dylan Markow (dmarkow)
on 2007-01-08 20:48
I am running my project in production mode. About 9 times out of 10, my
pages load fine. However, the other 10%, I get application errors as

ActionView::TemplateError (undefined method `experts' for
#<Project:0xb5adeadc>) on line #236 of

My Project model specifies "has_many :experts", and as I mentioned, it
works most of the time. What would cause these random errors?

My setup is Apache 2.2.3 + mongrel_rails + MySql 5.0 + Edge Rails.

This topic is locked and can not be replied to.