Categories: None [Edit]
acts_as_archival
*Atomic archiving/unarchiving for ActiveRecord-based apps*
We had the problem that acts_as_paranoid and similar plugins/gems always work on
a record by record basis and made it very difficult to restore records
atomically (or archive them, for that matter).
Because the 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 screw with how destroy/delete work. We
don't because we actually want to be able to destroy records.
Total
Ranking: 5,740 of 183,107
Downloads: 811,254
Daily
Ranking: 6,706 of 183,092
Downloads: 249
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 | 953,844,246 | rake |
35 | 595,989,894 | activerecord |
63 | 475,587,280 | rubocop |
199 | 180,320,372 | database_cleaner |
253 | 141,523,763 | sqlite3 |
1,871 | 11,380,138 | rr |
2,068 | 8,709,738 | appraisal |
77,928 | 10,781 | assertions-eb |
Owners
# | Gravatar | Handle |
---|---|---|
1 | esquivalient | |
2 | jasongladish |