RubyGems Navigation menu

archival_record 2.0.1

*Atomic archiving/unarchiving for ActiveRecord* acts_as_paranoid and similar plugins/gems work on a record-by-record basis and make it difficult to restore records atomically (or archive them, for that matter). Because ArchivalRecord's #archive! and #unarchive! methods are in transactions, and every archival record involved gets the same archive number upon archiving, you can easily restore or remove an entire set of records without having to worry about partial deletion or restoration. Additionally, other plugins generally change how destroy/delete work. ArchivalRecord does not, and thus one can destroy records like normal.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 2.0.2 - August 04, 2020 (20 KB)
  2. 2.0.1 - August 03, 2020 (20 KB)
  3. 2.0.0 - August 03, 2020 (19.5 KB)

Runtime Dependencies (1):

activerecord >= 5.0

Development Dependencies (6):

appraisal >= 0
rake >= 0
rr >= 0
rubocop >= 0
sqlite3 >= 0

Owners:

Pushed by:

Authors:

  • Joel Meador, Michael Kuehl, Matthew Gordon, Vojtech Salbaba, David Jones, Dave Woodward, Miles Sterrett, James Hill, Maarten Claes, Anthony Panozzo, Aaron Milam, Anton Rieder, Josh Menden, Sergey Gnuskov, Elijah Miller

SHA 256 checksum:

cc24f51e6f5326303ab861fc253f1281638cebaa029206b67570077e77858adf

Total downloads 9,498

For this version 1,500

Licenses:

N/A

Required Ruby Version: >= 2.4

Links: