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: 712 of 183,748
Downloads: 61,862,437

Daily

Ranking: 851 of 183,729
Downloads: 45,692

Depended by

RankDownloadsName
1,77513,410,036counter_culture
3,6802,487,702spree_core
4,3691,592,504paranoia_uniqueness_validator
6,498623,774rails_db
6,641588,169istox
7,295471,211active_admin_paranoia
8,677332,573tramway-core
9,075304,377renalware-core
12,574158,846egov_utils
15,468108,513globalize-paranoia
18,34381,884web-connect
20,16170,741operator_recordable
30,79038,669rails-identity
35,34032,192lazy_crud
35,77531,680samvera-persona
36,00731,396lol_auth
36,74830,516quadro
43,56824,526historiographer
50,08720,285solidus_core_devise_token_auth
52,17419,176archangel

Depends on

RankDownloadsName
12,482,641,065bundler
10978,211,546rake
35610,270,384activerecord

Owners

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