Categories: None [Edit]
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
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 8 | 1,277,402,021 | rake |
| 36 | 772,437,945 | activerecord |
| 56 | 671,317,533 | rubocop |
| 60 | 645,617,305 | activejob |
| 73 | 590,362,406 | pry |
| 184 | 268,534,273 | rubocop-rails |
| 232 | 206,637,527 | database_cleaner |
| 278 | 177,832,199 | sqlite3 |
| 1,253 | 36,003,476 | rubocop-rake |
| 2,017 | 13,555,253 | appraisal |
| 2,038 | 13,227,942 | rr |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joelmeador |