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: 726 of 187,724
Downloads: 71,082,308

Daily

Ranking: 1,107 of 187,709
Downloads: 5,974

Depended by

RankDownloadsName
1,73617,447,152counter_culture
3,8272,700,630spree_core
4,4451,839,027paranoia_uniqueness_validator
6,509733,112rails_db
6,957626,639istox
7,873491,143active_admin_paranoia
8,447417,403decidim-core
9,077356,381tramway-core
9,453326,925renalware-core
12,324189,164egov_utils
15,406123,191globalize-paranoia
18,48789,789operator_recordable
19,14284,944web-connect
31,49340,992rails-identity
34,53136,202samvera-persona
35,60534,718lol_auth
35,72934,539lazy_crud
36,91333,063quadro
38,09231,727historiographer
49,17122,599solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,023,913,219bundler
101,170,175,491rake
36721,943,037activerecord

Owners

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