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,548
Downloads: 70,812,419

Daily

Ranking: 606 of 187,532
Downloads: 41,325

Depended by

RankDownloadsName
1,73717,315,358counter_culture
3,8272,694,658spree_core
4,4441,832,818paranoia_uniqueness_validator
6,513728,240rails_db
6,955624,325istox
7,860490,345active_admin_paranoia
8,459414,699decidim-core
9,074354,815tramway-core
9,451325,667renalware-core
12,352187,123egov_utils
15,413122,686globalize-paranoia
18,49989,377operator_recordable
19,11984,743web-connect
31,46240,883rails-identity
34,54936,045samvera-persona
35,61334,575lol_auth
35,70334,445lazy_crud
36,89332,962quadro
38,32031,346historiographer
49,16222,521solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,007,742,320bundler
101,164,433,060rake
36718,968,537activerecord

Owners

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