Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
Lessons:19Length:2.5 hours
  • Overview
  • Transcript

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