I did find this question on SO, but it didn't help, really.
So, I'd like to pass an array through a hidden field tag. As of now my code is:
<%= hidden_field_tag "article_ids", @articles.map(&:id) %>
This obviously does not work since it passes the ids as a string.
How do i do it?