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: almost 2 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
jackdanger/permanent_recordsA 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_atAn ActiveRecord mixin for safely destroying model records without deleting associated data349
actsasparanoid/acts_as_paranoidA plugin to temporarily hide records in a database without deleting them.1,477
usemuffin/trashProvides soft-delete functionality for CakePHP tables85
drecom/activerecord-turntableDatabase sharding extension for Ruby on Rails applications211
westonganger/active_snapshotA library that provides simplified snapshots and restoration for ActiveRecord models and associations with transparent white-box implementation.130
frojd/wagtail-trashAllows pages to be archived instead of permanently deleted in a Wagtail application38
ahoward/forkoffParallel processing utility for Ruby73
winebarrel/ruby-jqBindings to a popular JSON processing tool82
brendon/ranked-modelAn acts_as_sortable alternative with optimized performance and support for multiple lists per table1,091
sayanarijit/jfA utility to safely format and print JSON objects in the commandline.30
dreymonde/delegatedAvoids retain cycles when using closure-based delegation in Swift703
khiav223577/deep_pluckAllows plucking attributes from nested associations in Rails without loading unnecessary records460
vincent-pradeilles/weakable-selfHelps avoid memory leaks by providing a way to safely capture weak references to the object calling a closure78
ricardonacif/active_admin_jcropEnables cropping on image fields in ActiveAdmin forms via the Jcrop plugin55