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: 727 of 190,317
Downloads: 74,824,763

Daily

Ranking: 508 of 190,280
Downloads: 75,380

Depended by

RankDownloadsName
1,72319,099,766counter_culture
3,8842,797,727spree_core
4,4771,918,820paranoia_uniqueness_validator
6,489783,394rails_db
7,049644,268istox
8,018499,497active_admin_paranoia
8,433445,350decidim-core
9,165369,338tramway-core
9,504342,237renalware-core
12,173203,229egov_utils
15,389129,211globalize-paranoia
18,23595,790operator_recordable
19,36586,862web-connect
31,68242,059rails-identity
34,16437,914samvera-persona
35,46536,076lol_auth
35,59435,881historiographer
36,09735,227lazy_crud
36,72434,396quadro
48,97123,416solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,240,425,504bundler
81,255,248,311rake
36761,692,300activerecord

Owners

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