I don't think this is a bug. The functionality that you are requesting would be a feature.
Is there documentation somewhere that says the options should work with an array? Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Iñaki Baz Castillo [email protected] Date: Fri, 14 May 2010 17:20:33 To: <[email protected]> Subject: Bug in show/edit view when using form_ui = :select with an Array Hi, using: config.columns[:level].options = {:options => [0,1,2]} then the list view shows the propoer code, but when pressing "edit" I always see 0. If I use: config.columns[:level].options = {:options => {0=>0,1=>1,2=>2}} then it works ok. However I expect using a single Array should work. Regards. -- Iñaki Baz Castillo <[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. -- 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.
