Method: Iry.save!
- Defined in:
- lib/iry.rb
.save!(model) ⇒ true
Similar to ActiveRecord::Base#save! but in case of constraint violations, it raises ConstraintViolation and ‘errors` are populated. Aside from `model`, it takes the same arguments as ActiveRecord::Base#save!
145 146 147 |
# File 'lib/iry.rb', line 145 def self.save!(model, ...) TransformConstraints.save!(model, ...) end |