Product.all.map { |p| p.reviews.maximum(:created_at) }.min
I would like to find the lowest values from maximum values. It\'s doable in one query without