Module: DataMapper::Constraints::Resource

Defined in:
lib/data_mapper/constraints/resource.rb

Instance Method Summary collapse

Instance Method Details

#before_destroy_hookObject


4
5
6
7
# File 'lib/data_mapper/constraints/resource.rb', line 4

def before_destroy_hook
  enforce_destroy_constraints
  super
end