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: 728 of 189,083
Downloads: 73,340,886

Daily

Ranking: 633 of 189,069
Downloads: 40,114

Depended by

RankDownloadsName
1,72218,477,979counter_culture
3,8572,766,879spree_core
4,4601,887,450paranoia_uniqueness_validator
6,493764,442rails_db
7,012639,106istox
7,970496,596active_admin_paranoia
8,440435,866decidim-core
9,118366,489tramway-core
9,466337,351renalware-core
12,163199,598egov_utils
15,397126,979globalize-paranoia
18,27493,939operator_recordable
19,26886,400web-connect
31,63241,679rails-identity
34,33737,256samvera-persona
35,37635,829lol_auth
35,92835,035lazy_crud
36,41234,417historiographer
36,72934,014quadro
48,97823,190solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,153,362,565bundler
91,220,818,024rake
36746,955,714activerecord

Owners

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