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.

Reply via email to