paranoia

https://rubygems.org/gems/paranoia
https://github.com/rubysherpas/paranoia
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.

Total

Ranking: 726 of 187,196
Downloads: 70,175,763

Daily

Ranking: 642 of 187,176
Downloads: 39,677

Depended by

RankDownloadsName
123,7785,116stay_commerce
158,6813,250rails8_db
178,2481,558rails8_spree_core
179,3471,298orthoses-paranoia
179,7681,220goca-spree-core

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconryanbigg
2iconjhawthorn
3iconBenMorganIO
4iconsevenseacat
5iconmathieu