Hi there,
The following error message on my production server:
NameError (/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/
lib/active_support/dependencies.rb:100:in `const_missing’:
uninitialized constant Version):
further down the offending parts of my app are listed:
/app/models/project.rb:40:in all_documents' /app/controllers/documents_controller.rb:41:in
index’
index calls the method #all_documents from project.rb:
def all_documents
documents.find(:all, :include => :versions)
end
Nothing exciting there. The wierd thing is that it will work for a while
and then suddenly this error shows up. If I restart the webserver
(lighttpd) it’ll work again for a while and then fallover. And - I can’t
repeat this in script/console production. It works a charm even while
the Application Error screen is staring me in the face from Firefox.
Hmm. Just writing this has got me to thinking - could this be a lighttpd
problem?
Any help much appreciated.
Adam