Displaying 1 result from an estimated 1 matches for "redeemed_coupons".
2006 Feb 23
1
PostgreSQL CASCADE not copied to test db
...elopment_structure.sql.)
That means the fixtures can''t load/unload from the test database
properly. In other words, all my tests fail with the same error
message:
ActiveRecord::StatementInvalid: PGError: ERROR: update or delete on
"orders" violates foreign key constraint
"redeemed_coupons_order_id_fkey" on "redeemed_coupons"
DETAIL: Key (id)=(1) is still referenced from table "redeemed_coupons".
Is this a bug or intended behavior? If it is intended behavior, then
what am I doing wrong?
Thanks for your help.
Jim
--
Jim Menard, jim@io.com, jim.menard@gmail...