thanks - I'll give this a go On Jan 28, 6:21 pm, "Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::." <[email protected]> wrote: > El Tuesday 27 January 2009 06:47:44 greghauptmann escribió: > > > Hi, > > > How can I make default value for "form_ui" for all associations fields > > be "select" (not "crud")? (i.e. throughout all controllers that use > > activescaffold) > > Try putting in an initializer (a file in config/initializers): > class ActiveScaffold::DataStructures::Column > def form_ui > @form_ui ||= :select unless self.association.nil? > @form_ui > end > end > -- > Sergio Cambra .:: entreCables 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 -~----------~----~----~----~------~----~------~--~---
