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

Required Ruby Version

>= 3.0

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

Versions

  1. 4.0.1
    1. source

      1. 4.0.1 source March 25, 2025 (24.5 KB)
  2. 4.0.0
    1. source

      1. 4.0.0 source March 20, 2025 (24.5 KB)
  3. 3.0.1
    1. source

      1. 3.0.1 source June 11, 2024 (22 KB)
  4. 3.0.0
    1. source

      1. 3.0.0 source June 11, 2024 (22 KB)
  5. 2.0.2
    1. source

      1. 2.0.2 source August 04, 2020 (20 KB)
Show all versions (7 total)

Pushed by

SHA 256 checksum