RubyGems Navigation menu

archival_record 3.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:
=

install:
=

Versions:

  1. 3.0.1 June 11, 2024 (22 KB)
  2. 3.0.0 June 11, 2024 (22 KB)
  3. 2.0.2 August 04, 2020 (20 KB)
  4. 2.0.1 August 03, 2020 (20 KB)
  5. 2.0.0 August 03, 2020 (19.5 KB)

Runtime Dependencies (1):

activerecord >= 6.0

Development Dependencies (8):

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

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:

=

Total downloads 15,007

For this version 247

Version Released:

License:

MIT

Required Ruby Version: >= 3.0

New versions require MFA: true

Version published with MFA: true

Links: