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:

however the code produces (note the duplicate array declarations):

– RoR 2.01

Thanks for any help.

Rick

On 1/11/08, rnew [email protected] wrote:

however the code produces (note the duplicate array declarations):

See if this helps:

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


Greg D.
http://destiney.com/

Thanks, I’ll give it a try.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs