blob: 5a22b699d85e7ad8e13fb391da9bd5bb00d15745 (
plain) (
tree)
|
|
module ActiveModel
module Validations
module HelperMethods
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
|