From 90b294212566f8a659500224c006e60135552794 Mon Sep 17 00:00:00 2001 From: JG Date: Mon, 4 Jul 2022 12:23:34 +0100 Subject: [PATCH] validating postcode specs debugger removed --- app/models/location.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/location.rb b/app/models/location.rb index 6361bcbef..5afb3a700 100644 --- a/app/models/location.rb +++ b/app/models/location.rb @@ -37,7 +37,6 @@ private def validate_postcode unless postcode.match(Validations::PropertyValidations::POSTCODE_REGEXP) - debugger error_message = I18n.t("validations.postcode") errors.add :postcode, error_message end