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: 726 of 187,922
Downloads: 71,412,850

Daily

Ranking: 619 of 187,912
Downloads: 39,596

Depended by

RankDownloadsName
1,73417,601,550counter_culture
3,8352,707,325spree_core
4,4441,848,041paranoia_uniqueness_validator
6,509738,074rails_db
6,967627,990istox
7,888491,948active_admin_paranoia
8,445419,944decidim-core
9,089357,676tramway-core
9,454328,366renalware-core
12,311190,462egov_utils
15,416123,551globalize-paranoia
18,42490,492operator_recordable
19,16885,078web-connect
31,52441,068rails-identity
34,51836,320samvera-persona
35,56434,861lol_auth
35,75134,596lazy_crud
36,88733,188quadro
37,90632,012historiographer
49,13922,675solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,041,798,299bundler
101,176,150,329rake
36725,234,556activerecord

Owners

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