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: 82,146 of 180,518
Downloads: 9,442
Daily
Ranking: 20,071 of 180,507
Downloads: 13
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 |
---|---|---|
16 | 856,302,234 | rake |
34 | 541,460,706 | activerecord |
68 | 415,679,622 | rubocop |
189 | 168,862,092 | database_cleaner |
238 | 132,712,433 | sqlite3 |
1,785 | 10,631,137 | rr |
2,072 | 7,571,124 | appraisal |
Owners
# | Gravatar | Handle |
---|---|---|
1 | joelmeador |