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: 725 of 186,938
Downloads: 69,571,170

Daily

Ranking: 613 of 186,929
Downloads: 41,011

Depended by

RankDownloadsName
1,75116,733,976counter_culture
3,8152,652,152spree_core
4,4301,803,032paranoia_uniqueness_validator
6,517712,839rails_db
6,933615,472istox
7,809487,208active_admin_paranoia
8,545397,578decidim-core
9,052347,625tramway-core
9,453318,378renalware-core
12,483179,066egov_utils
15,441119,976globalize-paranoia
18,71786,210operator_recordable
19,04583,846web-connect
31,43040,195rails-identity
34,63535,280samvera-persona
35,76633,756lazy_crud
35,93333,520lol_auth
37,16332,062quadro
40,08929,030historiographer
49,70221,786solidus_core_devise_token_auth

Depends on

RankDownloadsName
12,935,666,006bundler
101,138,908,403rake
36704,333,861activerecord

Owners

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