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: 730 of 188,635
Downloads: 72,333,167

Daily

Ranking: 591 of 188,368
Downloads: 38,842

Depended by

RankDownloadsName
1,72218,031,544counter_culture
3,8532,729,976spree_core
4,4461,869,421paranoia_uniqueness_validator
6,499750,989rails_db
6,995632,873istox
7,932494,046active_admin_paranoia
8,438427,995decidim-core
9,100361,803tramway-core
9,464332,251renalware-core
12,223194,714egov_utils
15,386125,478globalize-paranoia
18,35792,026operator_recordable
19,21585,781web-connect
31,58141,377rails-identity
34,41736,792samvera-persona
35,44635,347lol_auth
35,83434,825lazy_crud
36,81133,575quadro
37,29333,038historiographer
48,99422,991solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,094,829,933bundler
101,193,676,273rake
36735,645,382activerecord

Owners

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