Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Command to generate nested resource

#1979

The syntax may be:

generate scaffold Post title:string body:text comment:nested name:string message:text

Then Post and Comment resource will be created and Comment is nested in Post

And nested model:

generate model Post title:string body:text comment:nested name:string message:text

Any idea about this feature?

Reported by akia · February 15th, 2009 @ 08:09 PM

State: incomplete
Milestone: 3.x
Assigned to: nobody
Importance: none

Activity

  1. CancelProfileIsBroken
    CancelProfileIsBroken
    • State changed from new to incomplete

    If you have a patch, please submit + reopen. Note though that generator code is being rewritten for 3.0 so it might be best to hold off for a while.

    April 22nd, 2009 @ 10:23 PM

  2. Jeremy Kemper
    Jeremy Kemper
    • Milestone changed from 2.x to 3.x

    May 4th, 2010 @ 06:48 PM

  3. bingbing