Replace render :text with render :plain

render :text is deprecated