Have you tried conservative spawning? It might have something to do with
a plugin that doesn't expect preloading.
--
Phusion | The Computer Science Company
Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
Have you tried conservative spawning? It might have something to do with
a plugin that doesn't expect preloading.
@users is definitely nil here. Are you sure the relevant query succeeded?
@users is definitely nil here. Are you sure the relevant query succeeded?
It is happening with any controller that does not match the default :controller/:action/:id route.
I use a nested dir structure instead of namespaces, but you can adjust my workaround to fit your situation.
As a workaround I put routes in routes.rb like:
map.adminusers 'admin/users/:action/:id' , :controller=> '/admin/users'
This is something to do with passenger, as those routes are not necessary with mongrel / webrick etc.
As a workaround I put routes in routes.rb like:
map.adminusers 'admin/users/:action/:id' , :controller=> '/admin/users'
This is something to do with passenger, as those routes are not necessary with mongrel / webrick etc.
Do you happen to be using Ruby Enterprise Edition as well? We found an
issue and it might have something to do with that.
I'm not able to reproduce this problem, so any more information would be
appreciated.