def remote_url(url, model_class, wildcard = 'QUERY')
      url || index_path(model_class, url_params: { q: wildcard, per: pagination.page_size })
    end
def remote_url(url, model_class, wildcard = 'QUERY')
      url || index_path(model_class, url_params: { q: wildcard, per: pagination.page_size })
    end
To generate remote URL for auto select plugin.
 @see https://github.com/reinteractive/wallaby/blob/master/app/assets/javascripts/wallaby/auto_select.js
   auto_select.js
 @param url [String, nil]
   if URL is nil, it will fall back to default remote URL
 @param model_class [Class]
 @param wildcard [String] wildcard that auto_select uses to replace with
   the typed keyword
 @return [String] URL for autocomplete