My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

This small enhancement plugin extends foxy fixtures (which is included in rails 2.0) and provides the following:

  • Warns you about broken links (non-existant fixture labels). Useful if you rename a fixture label, but forget to update links to it). Only works for loaded fixtures.
  • If a fixture you are pointing to has an ID, and that target fixture is included in the load list, it uses that ID rather than the auto-generated one.
  • When you inspect a model that was loaded to a fixture, it shows you the fixture labels, rather than the numbers:

BEFORE

tim.inspect
=> #<Contact id: 21275328, first: "Tim", last: "Harper", company_id: 1238721>
tim.inspect
=> #<Contact id: tims_contact, first: "Tim", last: "Harper", company_id: lead_media_partners>

h2. credits

Foxy Fixtures was written by John Barnette (http://geeksomnia.com/)

Super-foxy-fixtures extensions were created by Tim Harper

Powered by Google Project Hosting