DEV Community


Discussion on: Modern Rails flash messages (part 2): The undo action for deleted items

strzibny profile image
Josef Strzibny

Someone could be tempted to use default_scope instead of active scope, please don't.

Oh boy, I did have to work on an app with default scope for soft delete. Utter utter mess.