blob: 21761153346753524283a5e90cfe1f0bd77c5871 (
plain) (
tree)
|
|
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
|