RubyGems Navigation menu

acts_as_archival 1.0.0

*Atomic archiving/unarchiving for ActiveRecord-based apps* We had the problem that acts_as_paranoid and similar plugins/gems always work on a record by record basis and made it very difficult to restore records atomically (or archive them, for that matter). Because the 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 screw with how destroy/delete work. We don't because we actually want to be able to destroy records.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 2.1.0 - June 21, 2022 (20 KB)
  2. 2.0.0 - October 19, 2021 (20 KB)
  3. 1.4.0 - July 09, 2019 (19.5 KB)
  4. 1.3.0 - October 21, 2017 (18.5 KB)
  5. 1.2.0 - March 19, 2017 (18 KB)
  6. 1.0.0 - April 05, 2016 (16.5 KB)
Show all versions (18 total)

Runtime Dependencies (1):

Development Dependencies (8):

appraisal >= 0
mysql2 >= 0
pg >= 0
rake >= 0
rr >= 0
sqlite3 >= 0

Owners:

Authors:

  • Joel Meador, Michael Kuehl, Matthew Gordon, Vojtech Salbaba, David Jones, Dave Woodward, Miles Sterrett, James Hill, Maarten Claes

SHA 256 checksum:

1ef999fe6bcefd5c3c3c4da73cd315a0797631d6ca58778496d9fb88d19100cc

Total downloads 764,058

For this version 2,484

Licenses:

N/A

Required Ruby Version: >= 0

New versions require MFA: true

Links: