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: 54,002 of 188,892
Downloads: 20,252
Daily
Ranking: 28,002 of 188,868
Downloads: 6
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 |
|---|---|---|
| 10 | 1,208,584,337 | rake |
| 36 | 743,282,609 | activerecord |
| 56 | 639,275,776 | rubocop |
| 59 | 618,518,829 | activejob |
| 74 | 570,976,039 | pry |
| 186 | 253,793,044 | rubocop-rails |
| 229 | 201,835,347 | database_cleaner |
| 276 | 171,364,193 | sqlite3 |
| 1,299 | 32,844,409 | rubocop-rake |
| 2,022 | 12,789,313 | appraisal |
| 2,024 | 12,743,370 | rr |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joelmeador |