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: 717 of 184,991
Downloads: 65,045,123

Daily

Ranking: 681 of 184,981
Downloads: 19,377

Depended by

RankDownloadsName
1,77414,577,437counter_culture
3,7492,534,327spree_core
4,3701,681,440paranoia_uniqueness_validator
6,474667,293rails_db
6,778595,404istox
7,584479,858active_admin_paranoia
8,838337,732tramway-core
9,258307,928renalware-core
12,585165,236egov_utils
15,501111,762globalize-paranoia
18,58082,697web-connect
19,59775,842operator_recordable
31,05339,070rails-identity
35,50532,638samvera-persona
35,60332,529lazy_crud
36,26431,756lol_auth
37,08530,802quadro
42,90625,529historiographer
50,13820,634solidus_core_devise_token_auth
52,35519,432archangel

Depends on

RankDownloadsName
12,655,328,096bundler
101,034,196,175rake
35644,475,410activerecord

Owners

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