def restore_to_list
      begin
        matching_results_ids = session[:matching_results_ids]
        session[:matching_results_ids] = matching_results_ids << params[:restore_id].to_i
        render :nothing => true
      rescue
        render :nothing => true, :status => 500
      end
    end
def restore_to_list
      begin
        matching_results_ids = session[:matching_results_ids]
        session[:matching_results_ids] = matching_results_ids << params[:restore_id].to_i
        render :nothing => true
      rescue
        render :nothing => true, :status => 500
      end
    end
assumes matching_results_ids in the session
 puts back a given restore_id in the session variable