From f0bd4c6abe96ed1f9253128be144e9bda34ce7d9 Mon Sep 17 00:00:00 2001 From: Alberto Vena Date: Wed, 25 Oct 2023 12:50:04 +0200 Subject: [PATCH] Fix deactivate_unsupported_payment_methods name In the doc printed when it's needed, we had a typo, probably due to some back and forth on the PR that introduced the change. See https://github.com/solidusio/solidus/pull/3837 --- core/app/models/spree/payment_method.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app/models/spree/payment_method.rb b/core/app/models/spree/payment_method.rb index ead6c70d5bc..c74bb03701e 100644 --- a/core/app/models/spree/payment_method.rb +++ b/core/app/models/spree/payment_method.rb @@ -68,7 +68,7 @@ def find_sti_class(type_name) raise UnsupportedPaymentMethod, "Found invalid payment type '#{type_name}'.\n"\ "This may happen after switching payment service provider, when payment methods "\ "reference old types that are not supported any more.\n"\ - "If that is the case, consider running 'rake payment_method:deprecate_unsupported_payment_methods' "\ + "If that is the case, consider running 'rake payment_method:deactivate_unsupported_payment_methods' "\ "to fix the issue." end end