views:

67

answers:

0

At some point I started getting the error message:

uninitialized constant TaggingsController::Tag

for @tags = Tag.all(:order=>'name') and @tag = Tag.new

previously it had been working. I can see nothing that explains the cause. For at least 2 weeks it worked in production but not locally. Another developer downloaded the app and it all worked fine locally. When I try irb locally and on the production server there is no error.

On production: ubuntu, mysql, passenger. Locally for ubuntu, mysql, mongrel. Switching production to use mongrel seems to make it work (the error disappeared). but I want to use passenger in production and the problem continues locally - where it won't work at all using mongrel.

I am stumped by this bug. Any suggestions?