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: 713 of 197,861
Downloads: 84,653,314

Daily

Ranking: 585 of 197,834
Downloads: 42,549

Depended by

RankDownloadsName
1,67523,394,343counter_culture
3,9813,031,943spree_core
4,6142,070,655paranoia_uniqueness_validator
6,599909,611rails_db
7,480675,563istox
8,265552,472decidim-core
8,415528,365active_admin_paranoia
9,692386,568tramway-core
9,936364,367renalware-core
12,407224,740egov_utils
15,386146,063custom_counter_cache
16,081134,378globalize-paranoia
18,385105,171operator_recordable
20,16189,887web-connect
32,07144,787samvera-persona
32,59643,841rails-identity
33,02243,062historiographer
36,42637,559lol_auth
37,25436,411lazy_crud
37,62635,945quadro

Depends on

RankDownloadsName
13,875,234,097bundler
81,447,561,113rake
37857,064,487activerecord

Owners

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