Module: ActiveModel::Validations::HelperMethods
- Defined in:
- lib/rails-countries/validators.rb
Instance Method Summary collapse
Instance Method Details
#validates_countries_alpha2_of(*attributes) ⇒ Object
12 13 14 |
# File 'lib/rails-countries/validators.rb', line 12 def validates_countries_alpha2_of(*attributes) validates_with CountriesAlpha2Validator, _merge_attributes(attributes) end |