I'm using Searchlogic in a model with tens of thousands of records and don't want to initially display them all the first time the search page loads. How do I get an empty search object from searchlogic if there are no :search params?
def search @products = [] if params[:search] && !params[:search].blank? @search = Product.searchlogic(params[:search]) else @search = Product.searchlogic(....What goes here to get an empty searchlogic object?...) end @products = @search.all end