Category

Active Record Soft Delete

Keep deleted records in the database for auditing and restoring

5.31
A long-lived project that still receives updates
Track changes to your models, for auditing or versioning. See how a model looked at any stage in its lifecycle, revert it to any version, or restore it after it has been destroyed.
3.3
There's a lot of open issues
A long-lived project that still receives updates
Paranoia is a re-implementation of acts_as_paranoid for Rails 3, 4, and 5, using much, much, much less code. You would use either plugin / gem if you wished that when you called destroy on an Active Record object that it didn't actually destroy it, but just "hid" the record. Paranoia does this by setting a deleted_at field to the current time when you destroy a record, and hides it by scoping all queries on your model to only include records which do not have a deleted_at field.
0.11
The project is in a healthy, maintained state
An ActiveRecord plugin for atomic archiving and unarchiving of object trees. Inspired by ActsAsParanoid and PermanentRecord
0.09
No commit activity in last 3 years
Rails plugin that provides the ability to soft delete models
0.0
Repository is gone
No release in over 3 years
Enable soft delete of ActiveRecord records. Based off defunct ActsAsParanoid and IsParanoid
 Popularity