RubyGems Navigation menu

paranoia 2.0.3

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.

Gemfile
          gem 'paranoia', '~> 2.0.3'
  
  
  
  
  
  
  

install
          gem install paranoia
  
  
  
  
  
  
  

Authors:

  • radarlistener@gmail.com

Owners:

9a2a53db8e9b4476038c94a64b32833f

#27

Total downloads 610,114

For this version 1,565

Show all versions (15 total)

Required Ruby Version: >= 0

Links:

Versions:

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

Runtime Dependencies:

Development Dependencies: