RubyGems Navigation menu

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

instalar:
=

Versões:

  1. 4.0.1 March 25, 2025 (24,5 KB)
  2. 4.0.0 March 20, 2025 (24,5 KB)
  3. 3.0.1 June 11, 2024 (22 KB)
  4. 3.0.0 June 11, 2024 (22 KB)
  5. 2.0.2 August 04, 2020 (20 KB)
Mostrar todas as versões (7)

Runtime Dependencies (1):

activerecord >= 6.0

Development Dependencies (10):

activejob >= 6.0
appraisal >= 0
pry >= 0
rake >= 0
rr >= 0
rubocop >= 0
sqlite3 >= 0

Donos:

Pushed by:

Autores:

  • 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 de downloads 17.897

Desta versão 145

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 3.0

New versions require MFA: true

Version published with MFA: true

Links: