RailsCasts Pro episodes are now free!

Learn more or hide this

efiedoro's Profile

GitHub User: efiedoro

Comments by

Avatar

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) %>