Archive 2s Ruby Gem
I released the first iteration of the Archive 2s gem. This gem will allow you to archive a meaningful field of your ActiveRecord model. There are a few gems out there that will archive/soft delete an entire record but sometime you only need one piece. It has a simple interface and will instantiate a readonly version of the original class although it will only contain the id. This allows you to use relationships even on archived models. We are using this for events/stats tracking where the item is no longer available on the website, but we still need historical information regarding it and have some meaningful display value (hence Archive 2s).
Check it out on github or rubygems.org:
https://github.com/smashtank/archive_2s
https://rubygems.org/gems/archive_2s












