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
Post a Comment