lml/commontator

When user is deleted, all comments are deleted too.

acesuares opened this issue · 1 comments

When user is deleted, all comments are deleted too.
But in the case of a 'soft delete', this might not be a good idea.
In case of soft delete, the user does get a :deleted_at

How to prevent this from happening? I checked if I had destroy: :dependent but I don't see it anywhere in my models.

Sorry for not seeing this earlier, but acts_as_commontator sets dependent: :destroy and there seems to currently be no way to prevent that.