A parsing bug in ruby 1.9.2 allowed you to pass blocks to methods preceded by a comma. The bug only affected blocks with do/end and was fixed in 1.9.3.
http://bugs.ruby-lang.org/issues/5540
$ rvm use ruby 1.8.7
[1].inject :+, do |x| 1 end
# => SyntaxError: compile error