On Miércoles, 3 de Noviembre de 2010 17:44:58 Dan Candea escribió: > so I should i do it ? > > def value_form_column(record, input_name) > column = active_scaffold_config.columns[:value] > id = active_scaffold_input_options(column)[:id] > select :record, :value, options_for_select(User::LIST[record.name]), :name > => input_name, :id => id > > I'm updating the content of a select which doesn't exists, the id I get > above it doesn't exists >
Please, can you explain your case in detail. What controller are you accessing? UsersController? Or another controller with user in a subform? Post your user controller too. Is value a db attribute? -- 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.
