Rails4: Routes that uses same variable more than once in url requires it supplied more than once.

Could someone please take a look on this one:

https://github.com/rails/rails/issues/12808

Jarl