<%= hidden_field_tag(‘users_ids’, @users.collect(&:id))%>
I want to grab an array of user ids and then do something with them, but
hidden_form_tag is flattening my array. I’ve tried various ways of
putting an array into h_f_t and it always flattens it. How can I
preserve the structure of my array?