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: 717 of 197,108
Downloads: 83,461,595

Daily

Ranking: 630 of 197,085
Downloads: 32,902

Depended by

RankDownloadsName
1,67422,958,970counter_culture
3,9823,001,389spree_core
4,5962,062,353paranoia_uniqueness_validator
6,594896,426rails_db
7,444674,464istox
8,272543,118decidim-core
8,399523,955active_admin_paranoia
9,647385,515tramway-core
9,894363,757renalware-core
12,377223,862egov_utils
15,344145,495custom_counter_cache
16,010134,203globalize-paranoia
18,400104,218operator_recordable
20,07689,750web-connect
32,12944,398samvera-persona
32,49743,749rails-identity
33,06542,736historiographer
36,33737,454lol_auth
37,16736,343lazy_crud
37,53735,866quadro

Depends on

RankDownloadsName
13,798,773,199bundler
81,429,009,039rake
37846,165,541activerecord

Owners

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