I have a collection_select dropdown that has a dropdown of names like this:
<%= f.collection_select(:person_id, Person.all, :id, :name) %>
But I have a foreign key on a person that points to a group they are part of. In the dropdown I want to show the persons name and the group next to them like this:
Paul (Golfers) Kevin (Sailors)
etc ...
Is this possible using the collection_select?