Question: In collection\_select I need pass following arguments. Total 7, but method accept max 6, how me join? 

```
<%= f.collection_select :skill_list, Project.tag_counts_on(:skills).order(:name), :id, :name, {}, {multiple: true}, validate: true, class: 'form-control' %> 

```

Answer: 
Try using this syntax

```
<%= f.select :skill_list, options_from_collection_for_select(Project.tag_counts_on(:skills).order(:name), "id", "name"), {},:multiple=> true,:validate=> true,:class=> 'form-control' %> 

```
**You can use the below snippet to populate your `select` tag with the collection** 

```
<%= form.select :project, options_from_collection_for_select(Project.all, "id", "title"),{class: "project_title", include_blank: "--Please Select--"  } %>

```