Routing bug/help

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

Suggestions?