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,579 of 190,529
Downloads: 2,323

Daily

Ranking: 110,136 of 190,497
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,254,889,834bundler
81,260,447,422rake
36764,177,506activerecord

Owners

#GravatarHandle
1iconkumoas