I was wondering how I would best validate URLs in Rails. I was thinking of using a regular expression, but am not sure if this is the best practice.
And, if I were to use a regex, could someone suggest one to me? I am still new to Regex.
I was wondering how I would best validate URLs in Rails. I was thinking of using a regular expression, but am not sure if this is the best practice.
And, if I were to use a regex, could someone suggest one to me? I am still new to Regex.