def addressable_normalize(url)
      addressable_uri = Addressable::URI.parse(url)
      addressable_uri.normalize.to_s
    end
def addressable_normalize(url)
      addressable_uri = Addressable::URI.parse(url)
      addressable_uri.normalize.to_s
    end
Makes sure that the URL is properly encoded.