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: 730 of 188,742
Downloads: 72,736,336

Daily

Ranking: 575 of 188,718
Downloads: 43,123

Depended by

RankDownloadsName
1,72318,202,455counter_culture
3,8562,742,841spree_core
4,4501,875,964paranoia_uniqueness_validator
6,491756,296rails_db
6,988637,507istox
7,946495,415active_admin_paranoia
8,437432,195decidim-core
9,092365,774tramway-core
9,450335,775renalware-core
12,153198,193egov_utils
15,386126,293globalize-paranoia
18,32492,918operator_recordable
19,22886,216web-connect
31,59941,564rails-identity
34,34637,086samvera-persona
35,32535,726lol_auth
35,88634,951lazy_crud
36,69133,904quadro
36,83733,737historiographer
48,97723,111solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,117,000,961bundler
101,201,589,493rake
36740,473,458activerecord

Owners

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