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: 5,766 of 183,477
Downloads: 817,420

Daily

Ranking: 5,659 of 183,470
Downloads: 70

Depended by

RankDownloadsName

Depends on

RankDownloadsName
10969,073,546rake
35604,924,275activerecord
62484,887,430rubocop
201181,877,048database_cleaner
259143,118,777sqlite3
1,87811,504,432rr
2,0738,883,281appraisal
78,08210,816assertions-eb

Owners

#GravatarHandle
1iconesquivalient
2iconjasongladish