I have a dropdown in the UI. There are many oprions.
How do I send the parameter from the dropdown - the selected value to the controller?
I have tried :-
<%= select_tag ‘name’, options_for_select(@list, :selected) %>
<%= select(“audit”, “value”,options_for_select([[“User Registration”, “USER_REGISTRATION”], [“Download”, “USER_REPORT”]], :selected => params[:value]) %>
I am not getting any parameters passed to the controller.