deactivatable 0.1.1
Deactivatable provides methods and a default_scope to allow ActiveRecord objects to be deactivated instead of deleted. This is useful if an object needs to be removed from general use, but it's data needs to be retained. Additionally, Deactivatable provides the ability to specify dependencies which also need to be deactivated. Deactivation is determined by populating a deactivated_at field with the date time at which deactivation happened.
Gemfile:
=
install:
=
Runtime Dependencies (1):
activerecord
>= 2.3
Development Dependencies (1):
thoughtbot-shoulda
>= 0