This should be an easy lookup, but I can't seem to find it anywhere in the documentation.
As of right now, everything rendered in the select is ordered by id, but I'd like it to render an alphabetical list instead (to make it more human-scannable).
The code I'm currently using to generate the select:
<%= f.collection_select :item_id, Item.all, :id, :name %>
Karma points for a generalized answer that can apply to any attribute of Item (not just alphabetically by :name).
Currently using Rails v 3.0.5