You would strip the 'Error:' part here and put that in when you're rendering any flash[:error].