Commit graph

2 commits

Author SHA1 Message Date
Francisco Javier López
537eb0bb2d Avoid checking dns rebind protection in validation 2019-09-05 09:11:14 +00:00
Thong Kuah
d119d3d1b2 Align UrlValidator to validate_url gem implementation.
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.
2019-04-11 06:29:07 +00:00
Renamed from spec/validators/url_validator_spec.rb (Browse further)