RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: efiedoro
How do I reverse the order of a dropdown list in my search form:
I am using: <%= f.select :project_id_eq, options_from_collection_for_select(Project.all, "id", "name", @search.project_id_eq) %>
How do I reverse the order of a dropdown list in my search form:
I am using:
<%= f.select :project_id_eq, options_from_collection_for_select(Project.all, "id", "name", @search.project_id_eq) %>