Method: Protector::Adapters::Sequel::Model#before_destroy
- Defined in:
- lib/protector/adapters/sequel/model.rb
#before_destroy ⇒ Object
Destroy availability check
84 85 86 87 |
# File 'lib/protector/adapters/sequel/model.rb', line 84 def before_destroy return false if protector_subject? && !destroyable? super end |