Category

Active Record Soft Delete

Keep deleted records in the database for auditing and restoring

2.67
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 5, 6, and 7, 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
2020
2021
2022
2023
2024
1.1
A long-lived project that still receives updates
Allows marking ActiveRecord objects as discarded, and provides scopes for filtering.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.31
Repository is archived
No commit activity in last 3 years
No release in over 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
2020
2021
2022
2023
2024
0.18
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
2020
2021
2022
2023
2024
0.16
Low commit activity in last 3 years
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
2020
2021
2022
2023
2024
0.13
Low commit activity in last 3 years
There's a lot of open issues
An ActiveRecord plugin for atomic archiving and unarchiving of object trees. Inspired by ActsAsParanoid and PermanentRecord
0.06
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
2020
2021
2022
2023
2024
0.06
No commit activity in last 3 years
Rails plugin that provides the ability to soft delete models
0.04
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
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
2020
2021
2022
2023
2024
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
2020
2021
2022
2023
2024
 Popularity