The problem is the first time the form gets submitted
params[:my_select_box] is empty and so nothing happens. All I want to do
is pass one of the values directly into the method.
Another problem is when the page refreshes, the same thing is selected
in the menu. I would like the option the user picked to be the currently
selected one.
The problem is the first time the form gets submitted
params[:my_select_box] is empty and so nothing happens. All I want to do
is pass one of the values directly into the method.
Another problem is when the page refreshes, the same thing is selected
in the menu. I would like the option the user picked to be the currently
selected one.
Thanks in advance
Has nobody run into this problem before ? I’ve searched high and low
on google to no avail.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.