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: 697 of 180,001
Downloads: 51,817,842

Daily

Ranking: 540 of 179,986
Downloads: 47,674

Depended by

RankDownloadsName
1,75210,373,486counter_culture
3,4902,322,338spree_core
4,3771,314,752paranoia_uniqueness_validator
6,370543,085istox
6,407536,054rails_db
6,957438,695active_admin_paranoia
8,183308,048tramway-core
8,531282,452renalware-core
12,480140,018egov_utils
15,86792,683globalize-paranoia
17,73477,616web-connect
20,58662,076operator_recordable
30,24036,308rails-identity
34,75630,282lazy_crud
35,69929,207lol_auth
35,87329,011quadro
36,48228,344samvera-persona
47,11920,432historiographer
50,47718,587solidus_core_devise_token_auth
52,31617,681archangel

Depends on

RankDownloadsName
11,981,823,378bundler
16826,441,337rake
36524,883,655activerecord

Owners

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