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

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -