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: 716 of 196,480
Downloads: 82,675,556

Daily

Ranking: 604 of 196,444
Downloads: 49,595

Depended by

RankDownloadsName
1,67822,574,951counter_culture
3,9842,963,355spree_core
4,5782,053,633paranoia_uniqueness_validator
6,611882,249rails_db
7,415672,806istox
8,322528,456decidim-core
8,387519,841active_admin_paranoia
9,610384,101tramway-core
9,857362,444renalware-core
12,352222,658egov_utils
15,942134,097globalize-paranoia
18,384103,459operator_recordable
19,99389,626web-connect
32,11744,105samvera-persona
32,36843,677rails-identity
33,21242,143historiographer
36,22137,362lol_auth
37,03336,245lazy_crud
37,39235,803quadro
48,73925,054solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,735,429,106bundler
81,412,729,553rake
37836,962,327activerecord

Owners

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