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
tofixtures :index
When I try use index(:first), I get a nil error. I don’t know what Im
doing wrong.
Thanks
Joey