Method: Iry.destroy
- Defined in:
- lib/iry.rb
.destroy(model) ⇒ Handlers::Model
Similar to ActiveRecord::Base#destroy but in case of constraint violations, ‘false` is returned and `errors` are populated.
153 154 155 |
# File 'lib/iry.rb', line 153 def self.destroy(model) TransformConstraints.destroy(model) end |