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: 82,146 of 180,518
Downloads: 9,442

Daily

Ranking: 20,071 of 180,507
Downloads: 13

Depended by

RankDownloadsName

Depends on

RankDownloadsName
16856,302,234rake
34541,460,706activerecord
68415,679,622rubocop
189168,862,092database_cleaner
238132,712,433sqlite3
1,78510,631,137rr
2,0727,571,124appraisal

Owners

#GravatarHandle
1iconjoelmeador