Constrained subdomains 

Rails 3.2 uses `Rack::MockRequest` in `recognize_path` method, and mock request alwas is `http` one and on the **root** domain. Because of that the route is not recognized if constrained by subdomain like so:

```
get '/register', ssl: true, constraints: { subdomain: 'login' }
```

What happend is recognize_path throws 404 error.

`recognize_path` is deprecated in 3.2 in favor of journey router. You should use it directly.