Students Save 30%! Learn & create with unlimited courses & creative assets Students Save 30%! Save Now
by
Lessons:19Length:2.3 hours

2.9 Paranoia

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.

Related Links