$("#sort_headers").html("<%= j render 'sort_headers' %>"); $("#tbody_researchs").html("<%= j render :partial => 'research', :collection => @researchs %>"); $("#research_pagination").html("<%= j paginate @researchs, :params => {:direction => params[:direction], :sort => params[:sort], :filter => @filter, :new_filter => nil} %>");