On Jueves, 17 de Junio de 2010 23:33:40 Richard Zheng escribió: > Hi, > > I use options_for_association_conditions to select belongs_to options. Is > there a way to setup the display order for the options? > > Thanks, > Richard
No, they are alphabetically sorted in options_for_association. You will have to copy that method in your helper and set order as you want. -- 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.
