Module: MuchRails::Records::NotDestroyable

Includes:
MuchMixin
Defined in:
lib/much-rails/records/not_destroyable.rb

Overview

MuchRails::Records::NotDestroyable is a mix-in to disable destroying a record. It mixes-in MuchRails::Records::ValidateDestroy and hard-codes a permanent destruction error message.