New rule: if you give someone the ability to bulk delete things, even with warnings and confirmation dialogs, someone will immediately delete everything in their account and then ask you to restore it.
=> More informations about this toot | More toots from jamie@ruby.social
@jamie soft delete with a delayed hard delete is a reasonable way to go.
=> More informations about this toot | More toots from stevenharman@ruby.social
@stevenharman soft delete is ok for small things (an individual model, not the god model and all associations) but we’ve been bitten by it too many times.
In this case it was ActiveStorage files. We could patch AS to delay blob deletion, or soft delete with a default scope, but both have quite high technical & UX complexity.
=> More informations about this toot | More toots from jamie@ruby.social This content has been proxied by September (3851b).Proxy Information
text/gemini