method
_merge_attributes
v3.2.8 -
Show latest stable
- Class:
ActiveModel::Validations::HelperMethods
_merge_attributes(attr_names)private
No documentation available.
# File activemodel/lib/active_model/validations/with.rb, line 5
def _merge_attributes(attr_names)
options = attr_names.extract_options!
options.merge(:attributes => attr_names.flatten)
end