It is core method :)
another solution similar to flatten can be `services = product_services.map(&:services).reduce(:+)`