Hello, I have a view with a select
and I would like the showed options were 1 to 10 without the already taken values. For instance if it is already present a priority with rank = 4 the showed options must be 1,2,3,5,6,7,8,9,10Code:
<%= form.select :rank, ... %>
Is there a simple rails way to do that ???