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

Delete videos when deleting a Tutorial #21

Open
jmejia opened this issue Dec 3, 2018 · 0 comments
Open

Delete videos when deleting a Tutorial #21

jmejia opened this issue Dec 3, 2018 · 0 comments
Labels
ActiveRecord bug Something isn't working

Comments

@jmejia
Copy link
Contributor

jmejia commented Dec 3, 2018

Background: Currently deleting a Tutorial will leave all of the videos in the database, meaning they will be referencing a tutorial that doesn't exist.

Use ActiveRecords dependent destroy functionality to fix this.

@jmejia jmejia added ActiveRecord bug Something isn't working labels Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ActiveRecord bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant