Check your lights. I used the error when using Rails forests to subclass.
The generator created files in my test / fixtures / directory that did not match the actual tables in my database (since the model used STI in another table).
When I ran the tests, Rails tried to create an instance of all my instruments, and an error similar to yours was generated when it was not possible to find a table corresponding to the name of the instrument.
Removing an unnecessary fixture file cleared my error and ran tests.
Hope this helps you or other people who come here to look for this error, like me .:]
source share