Method: Iry.save
- Defined in:
- lib/iry.rb
.save(model) ⇒ Boolean
Similar to ActiveRecord::Base#save but in case of constraint violations, ‘false` is returned and `errors` are populated. Aside from `model`, it takes the same arguments as ActiveRecord::Base#save
130 131 132 |
# File 'lib/iry.rb', line 130 def self.save(model, ...) TransformConstraints.save(model, ...) end |