Skip to content

brunoguerra/active_extend

Repository files navigation

ActiveDisablable

Add ability to model object to be disabled.

Records disabled instead of destroy on fist call destroy method.


Usage

Include Module ActiveDisablable

to fully destroy, use method model.destroy_fully()

Alternatively call model.destroy() of disabled record


@author: brunoguerra