Categories: None [Edit]

archival_record

https://rubygems.org/gems/archival_record
*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.

Total

Ranking: 51,318 of 198,526
Downloads: 23,804

Daily

Ranking: 51,055 of 198,451
Downloads: 7

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,464,598,461rake
37867,436,170activerecord
55776,562,027rubocop
61733,264,541activejob
73649,556,556pry
169324,436,558rubocop-rails
252222,743,603database_cleaner
285201,890,070sqlite3
1,07747,812,074rubocop-rake
1,97616,501,237appraisal
2,10314,135,650rr

Owners

#GravatarHandle
1iconjoelmeador