This project is archived and is in readonly mode.
Command to generate nested resource
Reported by akia | February 15th, 2009 @ 08:09 PM | in 3.x
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?
Comments and changes to this ticket
-
CancelProfileIsBroken April 22nd, 2009 @ 10:23 PM
- 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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>