protective 0.2.0
Protect records from being destroyed in a declarative way. Simply add 'protect_if :dont_delete, "Record is marked as not deletable"' to your ActiveRecord model. Your record will no be destroyed and the given message is added to the errors object.
Gemfile:
=
instalar:
=
Runtime Dependencies (1):
activerecord
>= 0