Find ActiveRecord object by maximum field value of a child object? December 8, 2023 by Tarik @parent.children.order("value DESC").first