Multiple Check Boxes

i've been digging on google most of the day trying to find the holy grail of check box resources, but have yet to find it. I'm trying to create a form with multiple checkboxes, and when the user submits the form, have the values captured. i'm probably making this much more difficult than it needs to be, and would appreciate any guidance, resources, or any ideas.


<% form_for(@book) do |f| %>

<%= label :book, :instock %>
<%= f.check_box :instock %><br />

<%= f.submit "Submit" %><br />

<% end %>