My 'member' model has 'has_one' relationships with 'health_data' and
'personnel_data'. I would like the subforms for these to appear
without the "Replace with New" and "Add Existing" buttons. Given the
one-to-one relationships, there is no reason to confuse users by
asking them to "Add existing". Rather, they should simply see the
fields and edit them the same way they do for the parent model
(member).

I found how to suppress the "Replace with New" button. Can I do the
same with "Add Existing"? It seems to me that AS should do this
transparently for has_one relationships; why would one want to add a
new record when there can only be one child for each parent and one
parent for each child?

-- 
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