rails/rails — pull request #18218 by brainopia (2014-12-27 10:46:57+00:00)
Title: Don't use shorthand match on routes with inappropriate symbols

Fixes exception from #18211
Test in this pull-request shows an example.