how are the params none when you clearly use params[:order] and params[:page]