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: 729 of 189,628
Downloads: 73,949,480

Daily

Ranking: 804 of 189,601
Downloads: 28,115

Depended by

RankDownloadsName
1,73418,755,243counter_culture
3,8672,778,491spree_core
4,4731,900,482paranoia_uniqueness_validator
6,491772,238rails_db
7,038640,118istox
7,989498,101active_admin_paranoia
8,438439,859decidim-core
9,141367,607tramway-core
9,498338,684renalware-core
12,170200,848egov_utils
15,380128,101globalize-paranoia
18,25094,815operator_recordable
19,30286,607web-connect
31,66941,788rails-identity
34,28537,457samvera-persona
35,44435,878lol_auth
36,00835,077lazy_crud
36,30734,689historiographer
36,74134,132quadro
48,95223,283solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,191,433,711bundler
91,237,600,515rake
36753,539,640activerecord

Owners

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