rails/rails — pull request #5955 by bogdan (2012-04-24 10:29:37+00:00)
Title: RouteSet: simplify routes helpers generation code

Removed complicated route generation structure:

``` diff
- {:url => {:only_path => false}, :path => {:only_path => true}}.each do |kind, opts|
+ [true, false].each do |only_path|
```

Which improve the code readability and reduce string concatenation overhead.