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: 717 of 197,085
Downloads: 83,428,693

Daily

Ranking: 982 of 197,066
Downloads: 9,028

Depended by

RankDownloadsName
1,67422,943,056counter_culture
3,9823,000,380spree_core
4,5962,061,828paranoia_uniqueness_validator
6,595895,961rails_db
7,441674,462istox
8,275542,507decidim-core
8,399523,694active_admin_paranoia
9,645385,492tramway-core
9,888363,730renalware-core
12,380223,686egov_utils
15,341145,481custom_counter_cache
16,007134,197globalize-paranoia
18,401104,142operator_recordable
20,07389,748web-connect
32,12944,393samvera-persona
32,49143,749rails-identity
33,06942,727historiographer
36,33337,453lol_auth
37,15436,343lazy_crud
37,52835,865quadro

Depends on

RankDownloadsName
13,796,160,121bundler
81,428,256,062rake
37845,746,438activerecord

Owners

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