Fixing problem with recursive method in product.rb