Hello everyone,
I have three models, 'Module', 'Component' and 'Sub_component' that
have the following associations:
Module                has_many :components;
has_many :sub_components, :through => :components
Component          belongs_to :module; has_many :sub_components
SubComponent    belongs_to :component

I am looking for a way of triggering the creation of both components
and sub_components from the creation of a module.
The first part is easy: when I create a new Module, ActiveScaffold
generate subforms for creating the module's components. But would
there be a way to cascade this procedure and have the subform link to
a 'sub-subform' for the sub-components?
I don't think that there is a straightforward way of doing this, but
can you think of a workaround?

Thank you very much,

Frederic

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to