rails/rails — pull request #7729 by bogdan (2012-09-22 08:53:09+00:00)
Title: ActionDispatch: remove trailing slash when root_url is called

`root_url` is always returning a trailing slash.
That is actually no way to remove it.

So patched `#url_for` to remove trailing slash if present.