Open tavisto opened 9 years ago
Yup, encountered this myself recently. Thanks for opening an issue for it.
Jason Dixon Sent from my iPhone
On Feb 2, 2015, at 9:27 PM, Tavis Aitken notifications@github.com wrote:
When trying to delete an Abstract the following error is reported
PG::ForeignKeyViolation: ERROR: update or delete on table "abstracts" violates foreign key constraint "scores_abstract_id_fkey" on table "scores" DETAIL: Key (id)=(3) is still referenced from table "scores".
It appears that the models do not do a cascading delete.
— Reply to this email directly or view it on GitHub.
When trying to delete an Abstract the following error is reported
PG::ForeignKeyViolation: ERROR: update or delete on table "abstracts" violates foreign key constraint "scores_abstract_id_fkey" on table "scores" DETAIL: Key (id)=(3) is still referenced from table "scores".
It appears that the models do not do a cascading delete.