You don't need the params
section in the form_tag
.
Params will be automatically generated by _tags
inside the form.
The text_field_tag values will be passed to the controller as params[:updated_quantity#1]
, params[:updated_quantity#2]
and so on.