rails/rails — pull request #10185 by derek-watson (2013-04-12 02:46:49+00:00)
Title: Subdomain route constraints fix

Fixes #10180

* Passing subdomain: '' to url_for removes the subdomain (instead of adding a leading .)
* Adding a boolean route constraint checks for presence/absence of request property