When you need something to prevent your data from being destroyed, Paranoia might be a justified response. In this lesson, I’ll show you how to use Paranoia to protect your application data from being deleted from your database. Active Record will be modified so that
destroying a record causes it to be "soft deleted”—a special
deleted_at field will be set, and the record will be hidden from the rest of your app.