This one is long to explain but basically my controller is built and expects an array in
params[:order_items]
, so I've tried it like this:
<%= hidden_field_tag "order_items", @order[:order_items_ids] %>
but I get the ids concatenated
<input id="gig_items" name="gig_items" type="hidden" value="2300124946">
So, How do I send and array in one of the params
keys using just html (without js)?