blob: 14236dcf41f9f13e224102793e4f4dc1223dc3b0 (
plain) (
tree)
|
|
# frozen_string_literal: true
module ActiveModel
module Validations
module HelperMethods # :nodoc:
private
def _merge_attributes(attr_names)
options = attr_names.extract_options!.symbolize_keys
attr_names.flatten!
options[:attributes] = attr_names
options
end
end
end
end
|