I’m currently developing a project in which I want to have an
administration section. The development server is running with Bluehost
(bluehost.com) on a shared server plan (since I am not always developing
on one machine, and need to have mobility in development).
I have created a number of controllers as nested controllers. For
example:
http://domain.com/acumen/
http://domain.com/acumen/users/
http://domain.com/acumen/tasklists/
http://domain.com/acumen/projects/
http://domain.com/acumen/tasks/
etc.
The folder structure in the /controllers/ folder mirrors what you see
there. As far as I can tell, this should work perfectly - I’ve read a
number of tutorials that do this just as I have done this, and they all
seem to work. Unfortunately, it is not working.
Whenever I try to access one of the controllers underneath the acumen
controller, I get the following error:
Routing Error
Recognition failed for “/acumen/tasks/”
My routes.rb file has the following routes in the following order. I
have also shown a few things that I have tried to resolve the routing
problems, but they are commented out, as you can see, and should not
affect right now:
ActionController::Routing::Routes.draw do |map|
map.connect ‘’, :controller => “home”
map.connect ‘:controller/service.wsdl’, :action => ‘wsdl’
Routes to our acumen controller?
#map.connect ‘acumen/:controller/:action/:id’
#map.connect ‘acumen/projects/:action’, :controller => ‘projects’
map.connect ‘:controller/:action/:id’
end
Is this perhaps a problem with the Bluehost hosting environment?