Add dependent destroy for has_many references.