I have a model Vehicle which actually maps to the at_vehicles table. So while running my test script for Vehicle, I get the error “‘vehicles’ relation does not exist”. Is there a hack , that could allow me to run my tests with the current db schema as is?
Thanks.
I have a model Vehicle which actually maps to the at_vehicles table. So while
Share
The problem was with the Fixtures. The fixture file ‘obus’ was trying to reach the obus table. So in case you’re straying away from convention and using table names different from that of your models, You will also alter your fixture filenames