Topic: Accessing select_tags value in controller on submit action

Hello all,

I have a form with in which based on the number of items comboboxes gets created below is the sample code.

<% @facility.areas.each do |area| %> 
    <%= select_tag :tenant_id, options_for_select( {|sc| [,]}),{:prompt => "select"} %>
<% end %>

How can i get the selected values for each comboboxes in the controllers function.


Last edited by abhishekthayyil (2013-02-19 11:40:35)