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 198,650
Downloads: 85,690,446

Daily

Ranking: 578 of 198,575
Downloads: 40,452

Depended by

RankDownloadsName
1,67223,826,723counter_culture
3,9743,085,719spree_core
4,6392,078,201paranoia_uniqueness_validator
6,589925,470rails_db
7,515678,443istox
8,235564,661decidim-core
8,461529,807active_admin_paranoia
9,727388,056tramway-core
9,975365,579renalware-core
12,450226,121egov_utils
15,426147,140custom_counter_cache
16,166134,484globalize-paranoia
18,346106,403operator_recordable
20,26490,076web-connect
31,94745,335samvera-persona
32,69943,976rails-identity
33,02343,401historiographer
36,49937,723lol_auth
37,36136,532lazy_crud
37,73836,041quadro

Depends on

RankDownloadsName
13,956,487,633bundler
81,466,417,310rake
37868,573,963activerecord

Owners

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