On Viernes, 10 de Septiembre de 2010 18:58:44 Soren escribió:
> Hi,
>
> Embedded scaffolds is a great way to create semi customizable reports.
>
> But is there a way to select which fields that are being shown in the
> embedded scaffold. For my purpose I'm interested in a subset of the
> fields.
>
> /S

You can send a parameter when you include embedded scaffold, and use a 
before_filter in the scaffold controller, using that parameter to guess which 
fields to show

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