Routes doing wrong URL parsing with Ruby 1.8.5, works with 1.8.6 (routing trouble with controllers


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

Aníbal Rojas

Was the controller called something like Admin::Controller or just

On Dec 22, 2007 7:53 AM, Aníbal Rojas [email protected] wrote:

Ryan B.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs