You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: