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: 54,002 of 188,892
Downloads: 20,252

Daily

Ranking: 28,002 of 188,868
Downloads: 6

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,208,584,337rake
36743,282,609activerecord
56639,275,776rubocop
59618,518,829activejob
74570,976,039pry
186253,793,044rubocop-rails
229201,835,347database_cleaner
276171,364,193sqlite3
1,29932,844,409rubocop-rake
2,02212,789,313appraisal
2,02412,743,370rr

Owners

#GravatarHandle
1iconjoelmeador