method

to_hash

to_hash()
public

No documentation available.

# File activemodel/lib/active_model/errors.rb, line 172
    def to_hash
      hash = ActiveSupport::OrderedHash.new
      each { |k, v| (hash[k] ||= []) << v }
      hash
    end