Source: show
# File app/validators/valid_url_validator.rb, line 2 def validate_each(record, attribute, value) unless Util::Url.valid_url?(value) record.errors.add(attribute, "is not a valid URL") end end