From 1768b15012d57155ee7a9f6bd8e84d30f0907d36 Mon Sep 17 00:00:00 2001 From: Sean Date: Mon, 27 Jul 2020 13:49:17 -0500 Subject: [PATCH] Update wording of zipcode requirement comment The `require_zipcode?` method does not check for validity, only presence. --- core/app/models/spree/address.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app/models/spree/address.rb b/core/app/models/spree/address.rb index 879c337cbca..c67499f8cd0 100644 --- a/core/app/models/spree/address.rb +++ b/core/app/models/spree/address.rb @@ -155,7 +155,7 @@ def require_phone? end # @todo Remove this from the public API if possible. - # @return [true] whether or not the address requires a zipcode to be valid + # @return [true] whether or not the address requires a zipcode to be present def require_zipcode? true end