RubyGems Navigation menu

archival_record 2.0.2

*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:

1ec3c7060e6de590c6039a39949836a7ce51025ff8d2e8c9a7f6976d8bbbba79

Total downloads 9,321

For this version 6,357

Licenses:

N/A

Required Ruby Version: >= 2.4

Links: