I've written some fun code to ease the pain of associating between
fixtures. 'Tis tested and documented! Essentially it allows you to
replace this syntax
No. Once all fixtures are loaded from this statement
fixtures :foo, :bar
It looks in :foo and :bar as the table names to match. It will only
attempt to match if the value in this statement is a symbol:
user: :fred
In the case of duplicate keys, you're on your own and probably have
bigger fish to fry.
If you're relying on symbols loading into fixtures you're probably
screwed, but then, who does that?
This is intended to be a really lightweight addition for people on the
golden path of rails. More advanced matching algorithms of course
welcome.