Please help in Multiple Checkbox and RadioButtons


#1
 I am using multiple check box (more than 1 checkboxes) and a radio

button and when I click the “Submit” button, it calls the “create”
method it is inserting only 1 value for checkbox and also for the radio
button.
How to insert multiple check box values in create.

 Also, in the scaffold edit page, the default "edit" method displays

all the fields (including checkbox and radio buttons) as
“text_field”(text box) with only single value. How to populate multiple
checkbox and radio buttons in the edit page with the values populating.