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: 169,305 of 180,448
Downloads: 1,966

Daily

Ranking: 88,619 of 180,434
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,074,527,333bundler
16853,130,958rake
34539,849,353activerecord

Owners

#GravatarHandle
1iconkumoas