I have a model where model name-table name relation doesn’t follow
the pluralize rule. I’m setting my real table name in the model with
I importend the structure form the _development database to the _test
one with rake clone_structure_to_test.
For the model above i’m writing a test unit which raises an error. It
tries to delete the records from the table wich resides in the _test
database, but it searches for the table with the name pluralized, wich
of course does not exist.
How cand i bound the test to the models setting regarding the table
if I rename the name of the table_plural.yml to the table_real.yml
everythig works ok and also the fixtures :table_plural to fixtures
:table_real everything works ok.