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,359 of 198,025
Downloads: 23,649

Daily

Ranking: 20,115 of 197,989
Downloads: 15

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,452,458,801rake
37859,974,150activerecord
55768,777,986rubocop
61726,283,015activejob
73645,358,109pry
171320,014,029rubocop-rails
249221,571,057database_cleaner
285200,157,958sqlite3
1,08246,924,936rubocop-rake
1,97916,283,670appraisal
2,09814,077,295rr

Owners

#GravatarHandle
1iconjoelmeador