Changing multiple records at the same time

I have a database where one column is boolean (checkboxes). I’d like
the user to be able to check any of these boxes they want, and then
submit the form and have all of the affected records changed. I’m
brand-new to rails, and all of the examples I’ve seen so far operate
on a record at a time. Can anyone direct me to examples,
documentation, etc., that do something similar to what I’m after?