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,002 of 187,622
Downloads: 879,789

Daily

Ranking: 8,090 of 187,603
Downloads: 141

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,166,409,648rake
36719,965,389activerecord
57613,899,529rubocop
223198,293,335database_cleaner
275165,820,303sqlite3
2,00812,470,487rr
2,02812,162,565appraisal
79,79111,375assertions-eb

Owners

#GravatarHandle
1iconesquivalient
2iconjasongladish