Ancestors

Toot

Written by Jamie Lawrence on 2024-09-04 at 20:25

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

Descendants

Written by Steven Harman on 2024-09-04 at 22:34

@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

Written by Jamie Lawrence on 2024-09-05 at 08:42

@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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113081159127467377
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
268.840604 milliseconds
Gemini-to-HTML Time
0.438326 milliseconds

This content has been proxied by September (3851b).