# File lib/active_model/validations.rb, line 162 def inherited(base) dup = _validators.dup base._validators = dup.each { |k, v| dup[k] = v.dup } super end