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
Deleting stuff is causing problems. The users are doing stuff they're allowed to, there's just side effects that we didn't anticipate with how deleting individual items might affect the associations with other items.
We should review all the models for:
Do users really need to be able to delete records
How should deletions be handled
What related models need to be checked for integrity if something is deleted
The text was updated successfully, but these errors were encountered:
I think if we add in a gem like acts_as_paranoid or archivable we could achieve the same result of "deleting" an item but keeping it in the background of we need it again.
This is also a feature of RuboCop, which is something I'm working on adding (see #290) and the docs. It will notify you, for instance, if you have a missing dependent: destroy.
Ref #248, #249, #243, #239 (indirectly), #223, #258
Deleting stuff is causing problems. The users are doing stuff they're allowed to, there's just side effects that we didn't anticipate with how deleting individual items might affect the associations with other items.
We should review all the models for:
The text was updated successfully, but these errors were encountered: