Random Model Errors

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
follows:

ActionView::TemplateError (undefined method `experts’ for
#Project:0xb5adeadc) on line #236 of
app/views/projects/_formedit.rhtml:

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.

Thanks,
Dylan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs