My controller is
@search = Sunspot.search(User) do fulltext params[:search] end @search_products = @search.results
I want it also match those name which start with search params
Aucun commentaire:
Enregistrer un commentaire