I am trying to create a validation that checks to make sure a domain/url is valid for example \"test.com\"
def valid_domain_name? domain_name = domain.spli
Another way to do URL validation in Rails is
validates :web_address, :format => { :with => URI::regexp(%w(http https)), :message => "Valid URL required"}