yes, I replace: flash[:error] = I18n.t ".message_error"