Registry / database / acts-as-paranoid

acts-as-paranoid

JSON →
library0.11.0rbrubygemsunverified

Provides a soft-delete pattern for ActiveRecord models, allowing records to be hidden instead of permanently deleted.

gem install acts_as_paranoid
INSTALL
IMPORT
SIG · ACTS-AS-PARANOID
A
acts-as-paranoid
databaserubyv0.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ActsAsParanoid
require 'acts_as_paranoid'

Soft-delete an ActiveRecord model and query deleted records.

require 'acts_as_paranoid' class User < ActiveRecord::Base acts_as_paranoid end User.first.destroy User.with_deleted.find(1) # still accessible
Debug
Known issues
breakingVersion 0.11.0 is outdated; newer versions may have breaking changes.
fix
Upgrade to the latest version and review changelog for migration steps.
affects: < 1.0
Upgrade
Version history
0.11.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
34
OpenAI (training)
1
Resources
acts-as-paranoid — gem install acts-as-paranoid · libregistry