ruby - Rails namespaced routes - Windows vs Linux -
i'm working on old client application running under rails 2.3.11 on windows server 2003. application relies on simple catch-all route (hell yeah!) :
map.connect ':controller/:action/:id'
i have nested modules , working fine on windows (prod) , mac os (dev).
url_for(:controller=>'/settings/users', :action=>:index) #=> settings::users#index
recently changed mac os ubuntu 11.04. works, except these nested routes.
url_for(:controller=>'/settings/users', :action=>:index) #=> settings#users
does have clue going on? why problem linux only?
it's not os-specific problem if affects routing in such specific way. there reason you're prefixing controller name /
? named routes avoid of mess being specific, it's unfortunate you're left without them.
there's slight difference in gem versions on 2 systems, maybe subtle.
Comments
Post a Comment