Forum: Ruby on Rails Help Needed with Routing Controller Modules

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Charl (Guest)
on 2007-05-03 14:19
(Received via mailing list)

Please can someone help me with this routing issue. I'm using
Controller modules to group controllers. e.g. ruby script/generate
controller supplier::home etc.

I have a default route setup:

map.connect 'supplier', :controller => 'supplier/home'

This works fine. This also seems to work if i open a console and do
the following:

  rs.recognize_path '/supplier/accommodation'

This is my result:

  {:action=>"index", :controller=>"supplier/accommodation"}

This is great and works fine for all requests in the supplier module.

My app runs perfectly on my local machine - it just gives huge
problems on the server. The setup is as follows:

Apache2.2.3 || 3 mongrels assigned

There are two other apps on the Xen box and their routing works fine,
but then again they don't use modules.

Has anyone had a similar problem?
This topic is locked and can not be replied to.