RubyGems Navigation menu

paranoia 2.0.4

Paranoia is a re-implementation of acts_as_paranoid for Rails 3, using much, much, much less code. You would use either plugin / gem if you wished that when you called destroy on an Active Record object that it didn't actually destroy it, but just "hid" 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.

Versions:

  1. 2.0.4 - December 3, 2014 (14 KB)
  2. 2.0.3 - November 21, 2014 (13.5 KB)
  3. 2.0.2 - January 16, 2014 (10.5 KB)
  4. 2.0.1 - October 24, 2013 (8.5 KB)
  5. 2.0.0 - July 8, 2013 (8 KB)
Show all versions (16 total)

Runtime Dependencies:

Development Dependencies:

Authors:

  • radarlistener@gmail.com

Owners:

9a2a53db8e9b4476038c94a64b32833fEc81d9cd659b1823a1dd321a2b547faa

Total downloads 659,918

For this version 9,374

Show all versions (16 total)

Required Ruby Version: >= 0

Licenses:

N/A

Gemfile:
gem 'paranoia', '~> 2.0.4' = Copy to clipboard Copied!

install:
gem install paranoia = Copy to clipboard Copied!

Links: