I haven''t used fixtures yet, but since Rails 0.9 is coming out soon, I
thought I''d speak up.
A ''users'' fixture might be found here, right?
test/fixtures/users/users.yaml
And the filename doesn''t matter, so long as it ends in .yaml, right?
Suggestion: also accept fixture data here:
test/fixtures/users.yaml
In this case, the filename is important. Only .yaml files will be
examined in the ''fixtures'' directory, and the name of that
file
implies the model it''s fixturing. The two schemes can work together.
For example, when "create_fixtures ''users''" is
called, the following
files are all read:
test/fixtures/users.yaml
test/fixtures/users/u1.yaml
test/fixtures/users/david
Most people choosing to use YAML for fixtures would not bother with
subdirectories, as all the fixture data for a single table fits in one
YAML file.
Apologies if my presumptions do not match reality.
Cheers,
Gavin