# \[ANN\] PluginAWeek: fixture\_references - Clean up your fixtur

**URL:** <https://www.ruby-forum.com/t/ann-pluginaweek-fixture-references-clean-up-your-fixtur/91381>\
**Category:** Rails\
**Created:** [April 8, 2007, 12:00am UTC](https://www.ruby-forum.com/t/ann-pluginaweek-fixture-references-clean-up-your-fixtur/91381 "2007-04-08T00:00:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronpowell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7bcc69/32.png) [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Post date:** [April 8, 2007, 12:00am UTC](https://www.ruby-forum.com/t/ann-pluginaweek-fixture-references-clean-up-your-fixtur/91381/1 "2007-04-08T00:00:34Z")

</div>

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](http://wiki.pluginaweek.org/Fixture_references)

Announcement

> **[アコムの審査は甘いのか他社カードローンと審査難易度を比較](https://www.iroop.jp/acom-shinsa/)**
>
> 最近、お笑い芸人の「かまいたち」がCM起用された馴染みある大手消費者金融のアコムは、初めての人でも利用しやすい消費者金融で、今までカードローンを使ったことが無い方におすすめです。 ですがもちろん誰でもお金が借りられる事は...

Source  
[http://svn.pluginaweek.org/trunk/plugins/active\_record/migrations/fixture\_references](http://svn.pluginaweek.org/trunk/plugins/active_record/migrations/fixture_references)

Development  
[http://dev.pluginaweek.org/browser/trunk/plugins/active\_record/migrations/fixture\_references](http://dev.pluginaweek.org/browser/trunk/plugins/active_record/migrations/fixture_references)
