d119d3d1b2
Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement. Make use of the options attribute of the parent class ActiveModel::EachValidator. Add more options: allow_nil, allow_blank, message. Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.
5 lines
127 B
YAML
5 lines
127 B
YAML
---
|
|
title: "Align UrlValidator to validate_url gem implementation"
|
|
merge_request: 27194
|
|
author: Horatiu Eugen Vlad
|
|
type: fixed
|