I have a User model in which the user has one attribute named division. Many users can have same division.
So when I’m using,
<%= collection_select(:user, :div, User.all, :division, :division) %>
it is giving duplicate values for division field. I know it is obvious but I dont know how to solve this.
How about: