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
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---