El Wednesday 29 October 2008 21:09:38 G. Sobrinho escribió: > Ed W, > > Have a problem into new version... > > I use it: > > [code]def cid_form_column record, input_name > record_select_field input_name, record.cid || Cid.new > end[/code] > > Cid is a "C" field. Into new version the input_name is called two > times with same name and i dont know why... > You will check too.. When i backed AS version before override patch, > all its ok again... > > I will check for a patch it and will post...
Possibly it's a problem with scope in subforms which was caused by that patch. I have fixed it and the patch it's waiting to be committed > > Tks > > On 29 out, 16:49, Ed W <[EMAIL PROTECTED]> wrote: > > G. Sobrinho wrote: > > > This patch is for override all subform... > > > I need only override one field of one subform... > > > > > > The bad explain is: > > > > > > A has_many B > > > B belongs_to C > > > > > > The C field, in subform, is a bigger select, with 3 000+ records. > > > I will use record_select for it... > > > > I think you may need to override the field, but put some logic in the > > override to check what context it's being called in? > > > > Ed > > -- Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::. Nicolás Guillén 6, locales 2 y 3. 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 -~----------~----~----~----~------~----~------~--~---
