app/models/spree/order_decorator.rb
def customization_pairs(product_customizations)
      pairs= product_customizations.map(&:customized_product_options).flatten.map do |m|
        [m.customizable_product_option.id, m.value.present? ? m.value : m.customization_image.to_s ]
      end

      Set.new pairs
    end
# produces a list of [customizable_product_option.id,value] pairs for subsequent comparison
produces a list of [customizable_product_option.id,value] pairs for subsequent comparison
produces a list of [ customizable_product_option . id value ] pairs for subsequent comparison
def customization_pairs(product_customizations)
      pairs= product_customizations.map(&:customized_product_options).flatten.map do |m|
        [m.customizable_product_option.id, m.value.present? ? m.value : m.customization_image.to_s ]
      end
      Set.new pairs
    end
def customization_pairs ( product_customizations ) pairs = product_customizations . map ( & :customized_product_options ) . flatten . map do | m | [ m . customizable_product_option . id , m . value . present? ? m . value : m . customization_image . to_s ] end Set . new pairs end
produces a list of [customizable_product_option.id,value] pairs for subsequent comparison
produces a list of [ customizable_product_option . id value ] pairs for subsequent comparison
product_customizations