Added by Eduardo Yáñez Parareda almost 15 years ago
Hello, I'm writting a plugin named Tests. I have a model:
Test < ActiveRecord::Base
In the controller, when I do Test.find(:all) I get the error:
NoMethodError: undefined method `find' for Test:Module
Any idea?
Finally, I find out the problem.
The model can't be called Test, so I've to change it to AuditTest and everything works fine.