I think this would be easier to understand if it said:

> We only want to build a `Detail` object if we don't already have one, so we add the `if detail.nil?` condition to avoid replacing an existing `Detail` object.