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,397 of 196,125
Downloads: 946,604

Daily

Ranking: 11,125 of 196,106
Downloads: 33

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,394,381,169rake
37826,900,046activerecord
57734,131,953rubocop
246216,493,792database_cleaner
281192,458,273sqlite3
1,99315,349,009appraisal
2,07813,788,034rr
80,27012,262assertions-eb

Owners

#GravatarHandle
1iconesquivalient
2iconjasongladish