That one is probably a matter of personal taste; I think that reads much more cleanly without brackets around the name, but that hits an ambiguous case that the Ruby parser is unwilling to backtrack over -- the braces are considered to start a hash, rather than a block attached to the function.  do/end resolve the ambiguity in favour of block.

So, I changed it to the bracket-free version, and needed to fix the ambiguous bit alongside that.