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: 727 of 191,455
Downloads: 75,654,741

Daily

Ranking: 579 of 191,429
Downloads: 35,402

Depended by

RankDownloadsName
1,71719,483,349counter_culture
3,9012,813,041spree_core
4,4861,937,252paranoia_uniqueness_validator
6,491792,617rails_db
7,088646,331istox
8,047500,751active_admin_paranoia
8,416451,374decidim-core
9,208370,599tramway-core
9,536343,660renalware-core
12,172204,987egov_utils
15,403130,302globalize-paranoia
18,24196,450operator_recordable
19,41087,113web-connect
31,76342,170rails-identity
33,91838,519samvera-persona
35,25236,572historiographer
35,54136,180lol_auth
36,18335,319lazy_crud
36,79234,497quadro
48,95223,550solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,290,634,251bundler
81,273,120,523rake
36770,348,064activerecord

Owners

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