What does the 'select(x,y,w) function/command do in Rails?

Hello there, I’m new with Ruby and I’m trying to develop a web app. I’m
following an example from the book and they used ‘select( )’ with three
parameters…what exactly does ‘select ( )’ do? I’m trying to have a
scroll down button that will let me select one of the options. Is there
another way to accomplish this?

I will highly appreciate your help.

Thank you so much

Ricardo ricardito wrote:

See:
http://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#M000399

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