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: 700 of 180,416
Downloads: 53,457,663

Daily

Ranking: 580 of 180,403
Downloads: 38,356

Depended by

RankDownloadsName
1,75810,878,258counter_culture
3,5202,349,008spree_core
4,3481,377,733paranoia_uniqueness_validator
6,426550,584istox
6,437548,871rails_db
7,035443,937active_admin_paranoia
8,234312,502tramway-core
8,580286,644renalware-core
12,513142,804egov_utils
15,78995,332globalize-paranoia
17,84178,358web-connect
20,41063,968operator_recordable
30,32836,734rails-identity
34,83830,621lazy_crud
35,76629,573lol_auth
36,00229,289quadro
36,47128,798samvera-persona
46,87820,836historiographer
50,33818,895solidus_core_devise_token_auth
52,24217,941archangel

Depends on

RankDownloadsName
12,062,907,607bundler
16849,672,215rake
34538,111,368activerecord

Owners

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