rails/rails — pull request #11348 by sanemat (2013-07-07 14:25:31+00:00)
Title: Fix actionview link_to with block and url_hash

Use `link_to` with block and url_hash, expect block as name.
But ignore block and use url_hash as name.
__3-2-stable__ passes this test. __4-0-stable__ and __master__ fail this.

```
--- expected
+++ actual
@@ -1 +1 @@
-#, @children=[#, @children=[#, @children=[], @line=1, @position=18, @content="Example site">], @line=1, @position=12, @name="span", @attributes={}, @closing=nil>], @line=1, @position=0, @name="a", @attributes={"href"=>"/"}, @closing=nil>], @line=0, @position=0>
+#, @children=[#, @children=[#, @children=[], @line=1, @position=39, @content="Example site">], @line=1, @position=33, @name="span", @attributes={}, @closing=nil>], @line=1, @position=0, @name="a", @attributes={"action"=>"bar", "controller"=>"foo"}, @closing=nil>], @line=0, @position=0>
```