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: 177,334 of 195,956
Downloads: 2,421

Daily

Ranking: 123,456 of 195,929
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,653,018,178bundler
81,390,522,464rake
37824,824,337activerecord

Owners

#GravatarHandle
1iconkumoas