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: 175,369 of 192,666
Downloads: 2,363

Daily

Ranking: 132,857 of 192,588
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,389,007,605bundler
81,310,508,356rake
36786,085,808activerecord

Owners

#GravatarHandle
1iconkumoas