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: 720 of 193,649
Downloads: 78,923,328

Daily

Ranking: 481 of 193,618
Downloads: 69,915

Depended by

RankDownloadsName
1,70220,965,825counter_culture
3,9332,874,310spree_core
4,5172,002,623paranoia_uniqueness_validator
6,502834,499rails_db
7,318659,370istox
8,315506,072active_admin_paranoia
8,398493,550decidim-core
9,471377,258tramway-core
9,741353,587renalware-core
12,283214,580egov_utils
15,632133,595globalize-paranoia
18,39699,595operator_recordable
19,72988,432web-connect
31,96843,140rails-identity
33,31140,793samvera-persona
33,94239,736historiographer
35,88136,805lol_auth
36,67035,759lazy_crud
37,03435,256quadro
48,68524,430solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,490,992,976bundler
81,345,057,418rake
36801,085,161activerecord

Owners

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