Browse Source

validating postcode specs debugger removed

pull/704/head
JG 3 years ago
parent
commit
90b2942125
  1. 1
      app/models/location.rb

1
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

Loading…
Cancel
Save