Sha256: de24c5ad3a55e05893c15fdcc287a6c36bef111bf37817316bec5ea24e765db7
Contents?: true
Size: 245 Bytes
Versions: 7
Compression:
Stored size: 245 Bytes
Contents
require 'active_model/errors' module ActiveModel class Errors def merge!(other) @messages.merge!(other.messages) { |_, ary1, ary2| ary1 + ary2 } @details.merge!(other.details) { |_, ary1, ary2| ary1 + ary2 } end end end
Version data entries
7 entries across 7 versions & 1 rubygems