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: 715 of 196,420
Downloads: 82,594,917

Daily

Ranking: 744 of 196,404
Downloads: 9,686

Depended by

RankDownloadsName
1,67922,531,403counter_culture
3,9832,960,951spree_core
4,5752,052,880paranoia_uniqueness_validator
6,609880,901rails_db
7,413672,788istox
8,322527,745decidim-core
8,385519,254active_admin_paranoia
9,603384,051tramway-core
9,852362,401renalware-core
12,345222,636egov_utils
15,939134,063globalize-paranoia
18,387103,306operator_recordable
19,98489,621web-connect
32,12644,072samvera-persona
32,36243,675rails-identity
33,20742,139historiographer
36,21237,361lol_auth
37,03036,242lazy_crud
37,37635,800quadro
48,73425,053solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,729,119,754bundler
81,411,038,216rake
37836,055,098activerecord

Owners

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