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,593 of 180,434
Downloads: 760,651

Daily

Ranking: 5,079 of 180,417
Downloads: 565

Depended by

RankDownloadsName

Depends on

RankDownloadsName
16852,527,476rake
34539,539,568activerecord
68413,368,153rubocop
189168,386,456database_cleaner
238132,383,584sqlite3
1,77910,595,771rr
2,0697,527,454appraisal
76,72310,489assertions-eb

Owners

#GravatarHandle
1iconesquivalient
2iconjasongladish