Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v6.1.7.7) is shown here.
keys()
public
# File activemodel/lib/active_model/errors.rb, line 273
def keys
deprecation_removal_warning(:keys, "errors.attribute_names")
keys = @errors.map(&:attribute)
keys.uniq!
keys.freeze
end