Params to the method are passed without parentheses. The brace form of a block will bind to the last parameter, not to the overall invocation.
some_method a { |val| puts val }
# With parentheses, there's no ambiguity.
some_method(a) { |val| puts val }