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: 721 of 193,188
Downloads: 78,061,379

Daily

Ranking: 600 of 193,154
Downloads: 48,018

Depended by

RankDownloadsName
1,70220,610,081counter_culture
3,9202,858,556spree_core
4,5111,988,755paranoia_uniqueness_validator
6,497825,636rails_db
7,172656,354istox
8,156504,454active_admin_paranoia
8,271487,403decidim-core
9,439376,208tramway-core
9,730350,784renalware-core
12,302212,107egov_utils
15,578133,363globalize-paranoia
18,40598,809operator_recordable
19,66488,261web-connect
31,91043,018rails-identity
33,36340,500samvera-persona
34,20039,068historiographer
35,79636,743lol_auth
36,57435,700lazy_crud
37,00735,123quadro
48,64724,345solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,439,241,904bundler
81,329,290,503rake
36793,660,028activerecord

Owners

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