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,740 of 183,107
Downloads: 811,254

Daily

Ranking: 6,706 of 183,092
Downloads: 249

Depended by

RankDownloadsName

Depends on

RankDownloadsName
10953,844,246rake
35595,989,894activerecord
63475,587,280rubocop
199180,320,372database_cleaner
253141,523,763sqlite3
1,87111,380,138rr
2,0688,709,738appraisal
77,92810,781assertions-eb

Owners

#GravatarHandle
1iconesquivalient
2iconjasongladish