ruby on rails - How can I Make multi select in simple_fields_for -
I've written the following to accept roles, how many values can it be accepted = f.simple_fields_for: content_roles | Role | "Role", collection: rolls all, required: true just your role area Add multiple: true to Like this: = role.input: role_id, label: "visible to", like: select, label: "role", compile: roll .all, required: true, multiple: correct