DEPRECATION WARNING: alias_method_chain is deprecated.
joshRpowell opened this issue · 1 comments
joshRpowell commented
This is showing up in a number of models:
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <class:AuthorizeNet> at /Users/jpowell/.rvm/gems/ruby-2.4.1@milner/bundler/gems/spree_gateway-5de49f0ed535/app/models/spree/gateway/authorize_net.rb:28)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <class:BalancedGateway> at /Users/jpowell/.rvm/gems/ruby-2.4.1@milner/bundler/gems/spree_gateway-5de49f0ed535/app/models/spree/gateway/balanced_gateway.rb:38)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <class:Eway> at /Users/jpowell/.rvm/gems/ruby-2.4.1@milner/bundler/gems/spree_gateway-5de49f0ed535/app/models/spree/gateway/eway.rb:18)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <class:PayJunction> at /Users/jpowell/.rvm/gems/ruby-2.4.1@milner/bundler/gems/spree_gateway-5de49f0ed535/app/models/spree/gateway/pay_junction.rb:14)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <class:PayflowPro> at /Users/jpowell/.rvm/gems/ruby-2.4.1@milner/bundler/gems/spree_gateway-5de49f0ed535/app/models/spree/gateway/payflow_pro.rb:15)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from block in <module:Spree> at /Users/jpowell/.rvm/gems/ruby-2.4.1@milner/bundler/gems/spree-product-assembly-359afd6eb77a/app/models/spree/order_contents_decorator.rb:33)
damianlegawiec commented
Fixed :)