Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveRecord::InvalidForeignKey in rooms#leave #14

Open
hmlON opened this issue Nov 15, 2018 · 0 comments
Open

ActiveRecord::InvalidForeignKey in rooms#leave #14

hmlON opened this issue Nov 15, 2018 · 0 comments
Labels

Comments

@hmlON
Copy link
Owner

hmlON commented Nov 15, 2018

Error in Room538

ActiveRecord::InvalidForeignKey in rooms#leave
PG::ForeignKeyViolation: ERROR: update or delete on table "rooms" violates foreign key constraint "fk_rails_8ddbaad4c7" on table "room_activities"
DETAIL: Key (id)=(53) is still referenced from table "room_activities".
: DELETE FROM "rooms" WHERE "rooms"."id" = $1

View on Bugsnag

Stacktrace

app/controllers/rooms_controller.rb:55 - leave

View full stacktrace

Created automatically via Bugsnag

@hmlON hmlON added the bugsnag label Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant