Category

Active Record Soft Delete

Keep deleted records in the database for auditing and restoring

5.51
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
3.39
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
0.49
No release in over 3 years
Low commit activity in last 3 years
Active Record (~>3.2) plugin which allows you to hide and restore records without actually deleting them. Check its GitHub page for more in-depth information.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
0.27
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Don't delete your records, move them to a different table. Like acts_as_paranoid, but doesn't mess with your SQL queries.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
0.23
There's a lot of open issues
A long-lived project that still receives updates
Never Lose Data. Rather than deleting rows this sets Record#deleted_at and gives you all the scopes you need to work with your data.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
0.12
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.06
Low commit activity in last 3 years
There's a lot of open issues
A long-lived project that still receives updates
Typical paranoid gem built for Rails 4 and with the minimum code needed to satisfy acts_as_paranoid's API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
0.08
There's a lot of open issues
A long-lived project that still receives updates
Explicit soft deletion for ActiveRecord via deleted_at and default scope.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
0.0
Repository is gone
No release in over 3 years
Enable soft delete of ActiveRecord records. Based off defunct ActsAsParanoid and IsParanoid
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
 Popularity