For my mind, it is better to use params[:term]