Nit pick but the block with the hanging unless isn't the easiest to read. This seems similar to how we don't encourage attaching actions to the end of a block, e.g.

```
items.each do |item|
    puts item
end.sort
```