Class: ActiveModel::Errors
- Inherits:
-
Object
- Object
- ActiveModel::Errors
- Defined in:
- lib/business_flow/compat.rb
Overview
ActiveModel 5 added details (which we do not use here) and #merge! :reek:MissingSafeMethod Look it’s the API.
Instance Method Summary collapse
Instance Method Details
#merge!(other) ⇒ Object
19 20 21 22 23 |
# File 'lib/business_flow/compat.rb', line 19 def merge!(other) other.each do |attribute, | self[attribute] << end end |