spree_product_groups
spree_product_groups copied to clipboard
Spree 2.0 undefined method `>' for {}:ActiveSupport::OrderedHash
When trying add new product get an error: "undefined method `>' for {}:ActiveSupport::OrderedHash"
def include?(product)
res = apply_on(Product.where(:id => product.id), false)
res.count > 0
end
Hi @marya-ivanovna, could you please provide the information requested in the contributing guide? That'd help me be able to debug this issue.