Skip to content
Snippets Groups Projects
  1. Feb 25, 2020
  2. Apr 11, 2019
    • Thong Kuah's avatar
      Align UrlValidator to validate_url gem implementation. · d119d3d1
      Thong Kuah authored and James Lopez's avatar James Lopez committed
      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.
      d119d3d1
  3. Mar 28, 2019
  4. Feb 13, 2019
  5. Jan 09, 2019
  6. Jan 04, 2019
Loading