On 2/6/08, Stephen Anderson
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
> 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
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---