discard
Soft delete
A mixin for soft deletes in ActiveRecord records
🃏🗑 Soft deletes for ActiveRecord done right
2k stars
12 watching
83 forks
Language: Ruby
last commit: 16 days ago
Linked from 1 awesome list
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 | Adds support for soft deletion to Rails records, allowing them to be hidden without actually removing them. | 1,473 |
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. | 126 |
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 | 81 |
brendon/ranked-model | An acts_as_sortable alternative with optimized performance and support for multiple lists per table | 1,089 |
sayanarijit/jf | A utility to safely format and print JSON objects in the commandline. | 29 |
dreymonde/delegated | Avoids retain cycles when using closure-based delegation in Swift | 702 |
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 |