discard

Soft delete

A mixin for soft deletes in ActiveRecord records

🃏🗑 Soft deletes for ActiveRecord done right

GitHub

2k stars
12 watching
83 forks
Language: Ruby
last commit: 2 months ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
jackdanger/permanent_records A Rails plugin that prevents accidental destruction of data by setting a 'deleted_at' attribute instead of permanently removing records from the database. 272
davyjoneslocker/ruby-destroyed_at An ActiveRecord mixin for safely destroying model records without deleting associated data 349
actsasparanoid/acts_as_paranoid A plugin to temporarily hide records in a database without deleting them. 1,477
usemuffin/trash Provides soft-delete functionality for CakePHP tables 85
drecom/activerecord-turntable Database sharding extension for Ruby on Rails applications 211
westonganger/active_snapshot A library that provides simplified snapshots and restoration for ActiveRecord models and associations with transparent white-box implementation. 130
frojd/wagtail-trash Allows pages to be archived instead of permanently deleted in a Wagtail application 38
ahoward/forkoff Parallel processing utility for Ruby 73
winebarrel/ruby-jq Bindings to a popular JSON processing tool 82
brendon/ranked-model An acts_as_sortable alternative with optimized performance and support for multiple lists per table 1,091
sayanarijit/jf A utility to safely format and print JSON objects in the commandline. 30
dreymonde/delegated Avoids retain cycles when using closure-based delegation in Swift 703
khiav223577/deep_pluck Allows plucking attributes from nested associations in Rails without loading unnecessary records 460
vincent-pradeilles/weakable-self Helps avoid memory leaks by providing a way to safely capture weak references to the object calling a closure 78
ricardonacif/active_admin_jcrop Enables cropping on image fields in ActiveAdmin forms via the Jcrop plugin 55