Vedant Jain

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

We have used the simple_discussion gem in our rails application but the error is caused when the user is destroyed.

PG::ForeignKeyViolation: ERROR: update or delete on table "users" violates foreign key constraint "fk_rails_bc51c711fd" on table "forum_threads"
DETAIL: Key (id)=(1) is still referenced from table "forum_threads".