How to validate a url in Rails

Viewed 4141

Is there an easy way how to validate urls in Rails 4 without using a Gem?

I found the validate_url gem already but i dont actually want to use it, as I think there needs to be a built-in way of doing that

2 Answers
Related