Hey all,
Just announcing a new plugin...
fixture_references - Adds support for referencing external fixtures (by name) from within a fixture definition.
Example:
departments.yml: <% fixtures :employees id = 0 %>
packaging: id: <%= id += 1 %> name: Packaging manager_id: <%= employees(:bob)['id'] %>
Wiki http://wiki.pluginaweek.org/Fixture_references
Announcement
Source http://svn.pluginaweek.org/trunk/plugins/active_record/migrations/fixture_references
Development http://dev.pluginaweek.org/browser/trunk/plugins/active_record/migrations/fixture_references