If you extract this to a helper which you know always returns an array you can get rid of an `if` statement.

This is because `[].each { |v| p v }` never executes the block, while `[1,2].each { |v| p v }` evaluates the block for both 1 and 2.