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 #3

Open
jmejia opened this issue May 6, 2019 · 0 comments
Open

Delete videos when deleting a Tutorial #3

jmejia opened this issue May 6, 2019 · 0 comments
Labels
ActiveRecord bug Something isn't working

Comments

@jmejia
Copy link
Collaborator

jmejia commented May 6, 2019

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 bug Something isn't working ActiveRecord labels May 6, 2019
joequincy pushed a commit that referenced this issue May 11, 2019
This branch builds out the route, controller, and serialization for returning a JSON of friendships for a particular id.
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