Module: ActiveModel::Validations::HelperMethods
- Defined in:
- lib/validates_intersection_of_alias.rb
Instance Method Summary collapse
Instance Method Details
#validates_intersection_of(*attr_names) ⇒ Object
2 3 4 |
# File 'lib/validates_intersection_of_alias.rb', line 2 def validates_intersection_of(*attr_names) validates_with ActiveModelValidatesIntersectionOf::Validator, _merge_attributes(attr_names) end |