params[:ref] shouldn't be used in the view, given that @ref is set in the controller
Second row of arguments