Rails fixtures - defining a table name?

Hi,

At the minute all my fixtures have the same name as the table that they
are intended for, because of a recent issue with rails it doesn't seem
possible to have a fixture beginning with the word 'test'

Does anyone know of a way to have a different fixture name and then map
it to the correct table?

Thanks

Jon Morgan wrote:

Hi,

At the minute all my fixtures have the same name as the table that they
are intended for, because of a recent issue with rails it doesn't seem
possible to have a fixture beginning with the word 'test'

Does anyone know of a way to have a different fixture name and then map
it to the correct table?

Fixtures are pretty closely tied to tables -- just another problem with
them -- so I'd be surprised if this were possible.

My advice: get rid of fixtures and use Machinist. Fixtures were a
horrible mistake and should be removed from the Rails core.

Thanks

Best,