Rails checkbox value passing to partial

I am having index file in rails, inside that we are having partial file.
In that partial , we are having loop.Inside the loop we are having
checkboxes. If I check two checkboxes , two checkbox values has to send
to partial file . How we can do it in rails?