On Martes, 29 de Diciembre de 2009 14:03:33 [email protected] escribió:
> couldn't find  config.subform.columns accepting different configs for
> update and create as i would need it. Should one use
> per_request_configuration in this case or is there something like e.g.
> config.subform.update.columns ?

You have to use per-request configuration

>
>
> On 29 Dez., 12:59, "Sergio Cambra .:: entreCables S.L. ::."
>
> <[email protected]> wrote:
> > On Martes, 29 de Diciembre de 2009 10:05:57 [email protected] escribió:
> > > hi,
> > >
> > > i'm not sure if i'm doing something wrong. This is the scenario:
> > > Order has many Positions assoziation so i can have nested form.
> > >
> > > in OrderController i have :
> > >  config.columns = [ .. all coulumns i ever need .. ]
> > > then
> > >  config.create.columns = [...]
> > >  config.update.columns = [...]
> > >  config.list.columns = [...]
> > > config.show.columns = [...]
> > >
> > > Same in PositionsController
> > >
> > > Now, when is open positions-form nested inside order-form the postions-
> > > form uses config.columns-Configuration i'd expect it to use
> > > config.create-Confiuration.
> >
> > Nested forms will use config.subform.columns
> >
> > > --
> > >
> > > 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.
> >
> > --
> > 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.

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