Set ids when using a collection of values (cont.)
Concerning greeneggs614's post:
The following version would be a bit more intention revealing while providing the same output:
<% Car.each do |c| %>
<%= check_box_tag "car_ids[]", c.id, :id => "car_ids_#{c.id}" %>
<% end %>