Namespaced resource generation with resource_controller

Hello,

I’ve tried to generate a resource using a pre-defined namespace (admin),
but
it seems i could not make it work out of the box. I’ve managed to do it
with
pretty few hacking step and made a post out of my experience:

http://rails.anyware-technologies.com.br/2009/01/19/namespaced-resource-generation-with-resource_controller/

Michael K. commented about a way to do it in one generating step,
but it
did not work the way i wanted to.

Anyone know a way to do this out of the box?

Thanks

Mathieu