select

I'm trying to work through a simple tutorial on rails

The tutorial calls for adding the following:

<%= select ("cruncher", "", {'red' => 'red', 'green' => 'green', 'blue' => 'blue'}, {}, {:multiple => true, :size => 3 })%>

to produce: <select id="cruncher_" multiple="multiple" name="cruncher" size="3">...

however the code produces (note the duplicate array declarations): <select id="cruncher_" multiple="multiple" name="cruncher" size="3">....

-- RoR 2.01

Thanks for any help.

Rick

See if this helps:

http://destiney.com/blog/rubyonrails-select-helper

Thanks, I'll give it a try.