Open mikedao opened 5 years ago
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.
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.