Module: DataMapped::Permanent

Defined in:
lib/data_mapped/permanent.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(other) ⇒ Object



17
18
19
20
21
# File 'lib/data_mapped/permanent.rb', line 17

def self.included(other)
  other.class_eval do
    before :destroy, :vomit_before_destruction
  end
end