would params[:group] ||= 'main' be nicer?