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: 52,951 of 191,571
Downloads: 21,189

Daily

Ranking: 20,194 of 191,542
Downloads: 19

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,277,402,021rake
36772,437,945activerecord
56671,317,533rubocop
60645,617,305activejob
73590,362,406pry
184268,534,273rubocop-rails
232206,637,527database_cleaner
278177,832,199sqlite3
1,25336,003,476rubocop-rake
2,01713,555,253appraisal
2,03813,227,942rr

Owners

#GravatarHandle
1iconjoelmeador