Validate present url using https://coderwall.com/p/ztig5g/validate-urls-in-rails