search for: quartz_heater_order_letters

Displaying 1 result from an estimated 1 matches for "quartz_heater_order_letters".

2006 Dec 14
1
create and destroy fixture manually in method
...fixture in common place so every method has additional access to the additional fixture. The problem is the additional fixture depend on that two fixtures (foreign key). When I run the test, it complains something like this: ActiveRecord::StatementInvalid: PGError: ERROR: update or delete on "quartz_heater_order_letters" violates foreign key constraint "quartz_heater_jobs_quartz_heater_order_letter_id_fkey" on "quartz_heater_jobs" DETAIL: Key (id)=(1) is still referenced from table "quartz_heater_jobs". : DELETE FROM quartz_heater_order_letters So how do I create fixture manual...