title: How do checkboxes work in Rails?
body: <p>I was wondering how check boxes work in Rails? What would the table be inside of the database( integer, string,etc)? How would you give 3 different values to check boxes and the user only can choose 1(favorite color: red,green or blue)? </p>
  
  <p>I'm new to rails and it would help to have an explanation from the beginning to end as i see a lot of examples but they don't explain everything from the start.</p>
  
  <p>Thank you.</p>