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: 706 of 183,092
Downloads: 60,265,837

Daily

Ranking: 569 of 183,073
Downloads: 46,865

Depended by

RankDownloadsName
1,76912,957,913counter_culture
3,6382,464,600spree_core
4,3741,551,862paranoia_uniqueness_validator
6,500604,668rails_db
6,593581,850istox
7,283460,694active_admin_paranoia
8,613329,077tramway-core
9,009301,376renalware-core
12,543156,337egov_utils
15,538105,849globalize-paranoia
18,21881,341web-connect
20,17969,695operator_recordable
30,68838,331rails-identity
35,26331,903lazy_crud
35,97031,063lol_auth
36,12630,886samvera-persona
36,61030,294quadro
45,56322,792historiographer
50,08020,042solidus_core_devise_token_auth
52,15218,975archangel

Depends on

RankDownloadsName
12,404,813,777bundler
10953,159,306rake
35595,593,878activerecord

Owners

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