Categories: None [Edit]

acts_as_archival

https://rubygems.org/gems/acts_as_archival
https://github.com/expectedbehavior/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: 6,108 of 190,529
Downloads: 908,859

Daily

Ranking: 9,488 of 190,497
Downloads: 96

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,260,447,422rake
36764,177,506activerecord
56662,537,203rubocop
231205,252,773database_cleaner
279175,827,776sqlite3
2,02213,326,315appraisal
2,03113,157,659rr
80,17911,663assertions-eb

Owners

#GravatarHandle
1iconesquivalient
2iconjasongladish