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,766 of 183,477
Downloads: 817,420
Daily
Ranking: 5,659 of 183,470
Downloads: 70
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 | 969,073,546 | rake |
35 | 604,924,275 | activerecord |
62 | 484,887,430 | rubocop |
201 | 181,877,048 | database_cleaner |
259 | 143,118,777 | sqlite3 |
1,878 | 11,504,432 | rr |
2,073 | 8,883,281 | appraisal |
78,082 | 10,816 | assertions-eb |
Owners
# | Gravatar | Handle |
---|---|---|
1 | esquivalient | |
2 | jasongladish |