Ok, i changed my view to <%= select_tag "options", options_for_select(@options, "") %>
and in my controller I have: def index @options = ["A", "B", "C"] end Now, how would I add a submit button in my view so when some1 has for example, "A" selected, the action runA would be called in my controller. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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 https://groups.google.com/groups/opt_out.

