class ActiveRecord::DatabaseConfigurations::UrlConfig

def build_url_hash

the passed in url
Return a Hash that can be merged into the main config that represents
def build_url_hash
  if url.nil? || url.start_with?("jdbc:", "http:", "https:")
    { url: url }
  else
    ConnectionUrlResolver.new(url).to_hash
  end
end