# Routing bug/help

**URL:** <https://www.ruby-forum.com/t/routing-bug-help/172794>\
**Category:** Rails\
**Created:** [July 28, 2009, 5:19am UTC](https://www.ruby-forum.com/t/routing-bug-help/172794 "2009-07-28T05:19:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![magic\_hat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/5daacb/32.png) [@magic\_hat](https://www.ruby-forum.com/u/magic_hat)\
**Post date:** [July 28, 2009, 5:19am UTC](https://www.ruby-forum.com/t/routing-bug-help/172794/1 "2009-07-28T05:19:53Z")

</div>

Hi all.

One of my routes that works in 2.1 breaks in 2.2 and 2.3. Wondering if  
anyone has thoughts/workarounds.

ActionController::Routing::SEPARATORS \<\< “,” unless  
ActionController::Routing::SEPARATORS.include?(“,”)

map.article  
“:section/:title,:id”, :controller=\>‘articles’ , :action=\>‘show’,  
:requirements  
=\>{ :id=\>/\d{1,}/ }

def test\_route\_properly\_splits  
opts = { :id =\>  
“2”, :title=\>‘title\_is\_foo’, :section=\>‘theSection’}  
assert\_routing “theSection/title\_is\_foo,2”, opts  
end

1. Error:  
test\_route\_properly\_splits(ArticlesControllerTest):  
ActionController::RoutingError: No route matches “/theSection/  
title\_is\_foo,2” with {:method=\>:get}  
test/functional/articles\_controller\_test.rb:33:in  
`test\_route\_properly\_splits’

When I try to generate the route from console, I get the following:  
“[http://whatever/theSection/title\_is\_foo,:id](http://whatever/theSection/title_is_foo,:id)”

Suggestions?
