acts_as_archival 1.0.0
*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.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (1):
activerecord
>= 0
Development 相依性套件 (8):
appraisal
>= 0
assertions-eb
>= 0
database_cleaner
>= 0
mysql2
>= 0
pg
>= 0
rake
>= 0
rr
>= 0
sqlite3
>= 0