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: 51,896 of 195,980
Downloads: 22,848
Daily
Ranking: 25,968 of 195,956
Downloads: 10
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,391,498,163 | rake |
| 37 | 825,371,810 | activerecord |
| 57 | 732,492,664 | rubocop |
| 62 | 694,084,613 | activejob |
| 72 | 625,948,614 | pry |
| 175 | 300,109,352 | rubocop-rails |
| 246 | 216,254,124 | database_cleaner |
| 282 | 192,048,027 | sqlite3 |
| 1,137 | 42,677,613 | rubocop-rake |
| 1,992 | 15,302,285 | appraisal |
| 2,078 | 13,768,148 | rr |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joelmeador |