Fixture References plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://svn.pluginaweek.org/trunk/plugins/active_record/migrations/fixture_references
employees.yml:
<% id = 0 %> bob: id: <%= id += 1 %> name: Bob joe: id: <%= id += 1 %> name: Joe
departments.yml:
<% fixtures :employees id = 0 %> packaging: id: <%= id += 1 %> name: Packaging manager_id: <%= employees(:bob) %>
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 7 months ago

