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

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


Aníbal Rojas

http://anibal.rojas.com

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

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

http://hasmanydevelopers.com
http://rubycorner.com
http://anibal.rojas.com


Ryan B.