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,180
Downloads: 81,847,252

Daily

Ranking: 583 of 196,149
Downloads: 52,913

Depended by

RankDownloadsName
1,68422,177,757counter_culture
3,9792,942,728spree_core
4,5652,044,921paranoia_uniqueness_validator
6,617870,039rails_db
7,384672,229istox
8,342520,916decidim-core
8,388514,288active_admin_paranoia
9,571383,692tramway-core
9,814362,089renalware-core
12,300222,265egov_utils
15,878133,964globalize-paranoia
18,396102,583operator_recordable
19,91189,580web-connect
32,24643,711samvera-persona
32,28043,650rails-identity
33,14942,069historiographer
36,12537,337lol_auth
36,93136,228lazy_crud
37,27935,770quadro
48,66025,018solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,673,342,878bundler
81,396,057,225rake
37827,827,962activerecord

Owners

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