search for: ste_table_name

Displaying 1 result from an estimated 1 matches for "ste_table_name".

Did you mean: set_table_name
2006 Feb 12
1
Tests not picking up table name changes.
I have a model called Index, but the table is called Index. So in my model, I have ste_table_name ''index'' But in tests the fixtures are called indices, so I renamed it and changed >>fixtures :indices to >>fixtures :index When I try use index(:first), I get a nil error. I don''t know what Im doing wrong. Thanks Joey -- Posted via http://www.ruby-forum...