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: 707 of 181,568
Downloads: 56,236,021

Daily

Ranking: 841 of 181,553
Downloads: 44,582

Depended by

RankDownloadsName
1,75511,783,780counter_culture
3,5712,400,997spree_core
4,3511,454,466paranoia_uniqueness_validator
6,477570,489rails_db
6,499567,811istox
7,154451,404active_admin_paranoia
8,460322,570tramway-core
8,832295,357renalware-core
12,498149,543egov_utils
15,76799,055globalize-paranoia
17,98580,094web-connect
20,25766,863operator_recordable
30,41437,680rails-identity
34,95631,387lazy_crud
35,72630,489lol_auth
36,25429,875quadro
36,36429,749samvera-persona
46,35121,757historiographer
50,04519,584solidus_core_devise_token_auth
52,17018,492archangel

Depends on

RankDownloadsName
12,209,699,755bundler
15893,996,073rake
34562,421,794activerecord

Owners

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