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


    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/

    we got

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

    Causing a:

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


    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