sorry for another post. id really like to understand the documentation
but this whole RoR stuff is nothing like c++. everything just magically
happens using ror.
my first question is this about the api…
//////////////////////////
select_tag(name, option_tags = nil, options = {})
Creates a dropdown selection box, or if the :multiple option is set to
true, a multiple choice selection box.
Helpers::FormOptions can be used to create common select boxes such as
countries, time zones, or associated records.
option_tags is a string containing the option tags for the select box:
Outputs <select id=“people”
name=“people”>David
select_tag “people”, “David”
Options:
:multiple - If set to true the selection will allow multiple choices.
//////////////////////
now i still dont understand what to substitue name, option_tags, options
= {}) for. are these also found in the documentation. in c++ we call
them arguments.
i tried this <%= select_tag(‘state’, option_tags = ‘NJ’, options = {})%>
in my form, but no drop down happens.
thanks for any help.