Address validation regex. What does this Rails validation mean? -


i have rails validation reads:

validates :address_line_1, format: {     if: :changed?,     without: /^[0-9]+$/,     multiline: true,     message: i18n.t(       :missing_street_info, scope: 'activerecord.errors.models.address'     )   } 

what without section mean? regex? multiline key mean?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -