You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having UPS/FedEx as available shipping methods, try to place an order using a mismatched State/Zip. (e.g. Alaska / 20735).
The error should show a flash and allow the user to re-enter the address info, but instead causes a 500 error, as the controller decorators are never being loaded.
I added:
Dir.glob(File.join(File.dirname(__FILE__), "../../../app/**/*_decorator*.rb")) do |c|
Rails.configuration.cache_classes ? require(c) : load(c)
end
to the activate method and this fixed the problem locally.
I will try to submit a pull request / run tests ASAP (flying back home tomorrow from Railsconf)
Shipping Error: The postal code 77401 is invalid for MD United States.
The text was updated successfully, but these errors were encountered: