Nested Resource Generator?

Thanks in advance for your help!

I've found and read a number of blog postings that introduce Rails 2
concepts, including nested resources. In my newest Rails app, I ran the
new generate scaffold command for the child resource, and then proceeded
to make all the manual changes to nest that resource inside of the
parent resource.

There was a LOT of typing to change this, which brings me to ask: Has
anyone written a generator that can create a resource already nested
within another?

It's not a generator, but have a look at the resource_controller plugin.

I recently wrote about it on infoq

http://www.infoq.com/news/2008/01/rails-resource-controller