I have a multiselect dropdown that results in a redirect to URLs that include params like this:
period_id%5B%5D=14&period_id%5B%5D=15
In some circumstances, I need to set these params in my controller. I've tried
params[:period_id[]] = ['25']
and
params['period_id[]'] = ['25']
but this doesn't work.
What's the proper way to do this?