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: 723 of 192,666
Downloads: 77,266,579

Daily

Ranking: 616 of 192,588
Downloads: 28,767

Depended by

RankDownloadsName
1,70620,238,735counter_culture
3,9092,843,572spree_core
4,5091,969,436paranoia_uniqueness_validator
6,493814,936rails_db
7,142653,246istox
8,126503,300active_admin_paranoia
8,296478,495decidim-core
9,290374,535tramway-core
9,677348,139renalware-core
12,311209,385egov_utils
15,575132,134globalize-paranoia
18,41397,857operator_recordable
19,63087,827web-connect
31,90542,731rails-identity
33,47140,044samvera-persona
34,53438,277historiographer
35,75336,553lol_auth
36,47835,577lazy_crud
36,97034,906quadro
48,76624,084solidus_core_devise_token_auth

Depends on

RankDownloadsName
13,389,007,605bundler
81,310,508,356rake
36786,085,808activerecord

Owners

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