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,991 of 187,255
Downloads: 874,677

Daily

Ranking: 13,944 of 187,239
Downloads: 23

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,152,124,538rake
36711,782,395activerecord
57604,577,545rubocop
223197,197,036database_cleaner
274163,802,561sqlite3
2,00412,383,283rr
2,02611,962,161appraisal
79,75911,297assertions-eb

Owners

#GravatarHandle
1iconesquivalient
2iconjasongladish