Routes doing wrong URL parsing with Ruby 1.8.5, works with 1.8.6 (routing trouble with controllers grouped in folder)

Hello,

    We had a problem with a URL being parsed wrong by the routing module of Ruby on Rails for the controllers stored in a folder: admin/

    Instead of having

  Parameters: {"action"=>"update_options", "controller"=>"admin/ venues"

    we got

Parameters: {"action"=>"venues", "id"=>"update_options", "controller"=>"admin"

    Causing a:

ActionController::UnknownAction (No action responded to venues):

    Exception.

    We tested it a lot of boxes, the problem was happening only in one server. The only difference we found was the server having Ruby 1.8.5 instead of Ruby 1.8.6, we upgraded the Ruby version in the server and it started working without problem.

    Rails Version: 1.2.5     SO: Debian Etch