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,433 of 197,051
Downloads: 955,449

Daily

Ranking: 7,705 of 197,010
Downloads: 268

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,427,168,861rake
37845,130,767activerecord
55753,518,357rubocop
247219,375,505database_cleaner
285196,796,104sqlite3
1,98315,906,695appraisal
2,08913,971,015rr
80,51312,328assertions-eb

Owners

#GravatarHandle
1iconesquivalient
2iconjasongladish