Closed csbailey5t closed 7 years ago
Add has_many with dependent: :destroy. It makes sense to destroy any related collection templates when you delete a collection, but there should be a confirmation warning for the user.
has_many
dependent: :destroy
Add
has_many
withdependent: :destroy
. It makes sense to destroy any related collection templates when you delete a collection, but there should be a confirmation warning for the user.