Paranoia is a re-implementation of [acts\_as\_paranoid](http://github.com/ActsAsParanoid/acts_as_paranoid) for Rails 3 and Rails 4, using much, much, much less code.
Paranoia is a re-implementation of [acts\_as\_paranoid](http://github.com/ActsAsParanoid/acts_as_paranoid) for Rails 3/4/5, using much, much, much less code.
When your app is using Paranoia, calling `destroy` on an ActiveRecord object doesn't actually destroy the database record, but just *hides* it. 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.
...
...
@@ -20,7 +20,7 @@ For Rails 3, please use version 1 of Paranoia:
gem"paranoia","~> 1.0"
```
For Rails 4, please use version 2 of Paranoia:
For Rails 4 or 5, please use version 2 of Paranoia: