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: 179,181 of 198,362
Downloads: 2,455

Daily

Ranking: 69,842 of 198,347
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,929,266,364bundler
81,460,429,468rake
37864,811,962activerecord

Owners

#GravatarHandle
1iconkumoas