On Sábado, 23 de Abril de 2011 00:56:25 Lee escribió:
> I have a one-to-many association in my app and want to list the parent
> records without showing all the children in one of the columns, but
> keep the default edit form which shows the list of related children
> below the parent fields. If I set the columns in the parent controller
> with conf.columns and exclude the related children column, it removes
> the list of children from the edit form also.
> 
> Thanks for any help or ideas.

Remove it from list columns:
config.list.columns.exclude :children

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

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