Blows up when URL doesn't contain HTTP:// would be nice to make the HTTP:// optional
Code was tested under Sinatra
Error:-
- undefined method `split' for nil:NilClass
- file: domain_parser.rb
- location: parse_domains_from_host
- line: 49
concatenating "http://" is a workaround but it would be nice to have this within the gem itself..
Blows up when URL doesn't contain HTTP:// would be nice to make the HTTP:// optional
Code was tested under Sinatra
Error:-
concatenating "http://" is a workaround but it would be nice to have this within the gem itself..