RubyGems Navigation menu

acts_as_archival 2.1.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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 2.1.0 - June 21, 2022 (20.0 KB)
  2. 2.0.0 - October 19, 2021 (20.0 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.0 KB)
显示所有版本 (共 18 个)

Runtime 依赖 (1):

activerecord >= 6.1

Development 依赖 (7):

appraisal >= 0
rake >= 0
rr >= 0
rubocop ~> 1.30.1
sqlite3 >= 0

业主:

推送:

作者:

  • 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

SHA 256 校验和:

63945076df78f83b4cb974d1ac0c7c80dff741df0d2c171efcb76df01d93c185

下载总量 761,367

这个版本 84,181

许可:

MIT

需要的 Ruby 版本: >= 2.7.3

新的版本需要开启多因素验证: true

使用多因素验证发布的版本: true

链接: