paranoia
Paranoia is a re-implementation of acts_as_paranoid for Rails 5, 6, and 7, 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.
Activity
- Latest release
- 10mo ago
- Total releases
- 46
- Cadence
- ~2 months
- Last 12 months
- 1
Reach
- Stars
- —
Details
- License
- MIT
- First release
- Oct 06, 2010
Releases
| Version | Released | |
|---|---|---|
3.1.0
minor
| ||
3.0.1
patch
| ||
3.0.0
major
| ||
2.6.4
patch
| ||
2.6.3
patch
| ||
2.6.2
patch
| ||
2.6.1
patch
| ||
2.6.0
minor
| ||
2.5.3
patch
| ||
2.5.1
patch
| ||
2.5.2
patch
| ||
2.5.0
minor
| ||
2.4.3
patch
| ||
2.4.2
patch
| ||
2.4.1
patch
| ||
2.4.0
minor
| ||
2.3.1
patch
| ||
2.3.0
minor
| ||
2.2.1
patch
| ||
2.2.0
minor
| ||
2.2.0.pre
pre
| ||
2.1.5
patch
| ||
2.1.4
patch
| ||
2.1.3
patch
| ||
2.1.2
patch
| ||
2.1.1
patch
| ||
1.3.4
patch
| ||
2.1.0
minor
| ||
2.0.5
patch
| ||
2.1.0.pre
pre
| ||
2.0.4
patch
| ||
2.0.3
patch
| ||
2.0.2
patch
| ||
1.3.3
patch
| ||
2.0.1
patch
| ||
1.3.2
patch
| ||
1.3.1
patch
| ||
2.0.0
major
| ||
1.3.0
minor
| ||
1.2.0
minor
| ||
1.1.0
minor
| ||
1.0.3
patch
| ||
1.0.2
patch
| ||
1.0.1
patch
| ||
1.0.0
major
| ||
0.0.1
initial
|