Categories: None [Edit]

kumolus-paranoia

https://rubygems.org/gems/kumolus-paranoia
https://github.com/kumoas/kumolus-paranoia
You would use this Paranoia gem if you wished that when you called destroy on an Active Record object that it didn't actually destroy it, but just "hide" 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: 174,991 of 191,796
Downloads: 2,341

Daily

Ranking: 95,018 of 191,763
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,320,243,105bundler
81,283,737,738rake
36775,280,073activerecord

Owners

#GravatarHandle
1iconkumoas