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: 730 of 188,219
Downloads: 71,994,901

Daily

Ranking: 601 of 188,199
Downloads: 45,831

Depended by

RankDownloadsName
1,72317,872,467counter_culture
3,8502,720,880spree_core
4,4421,862,475paranoia_uniqueness_validator
6,504746,329rails_db
6,981631,864istox
7,915493,446active_admin_paranoia
8,432425,991decidim-core
9,093360,635tramway-core
9,453331,267renalware-core
12,239193,738egov_utils
15,397124,832globalize-paranoia
18,39691,447operator_recordable
19,19585,597web-connect
31,56141,294rails-identity
34,43536,674samvera-persona
35,47835,219lol_auth
35,80134,769lazy_crud
36,81433,477quadro
37,41332,789historiographer
48,97622,936solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,075,063,380bundler
101,187,421,249rake
36731,723,412activerecord

Owners

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