I’m new to RoR, and have found some very useful info on this site,
I have a select box that I need to sort.<% @peoplekinds.each do |peoplekind| %> > <%= peoplekind.name %> <% end %>
In the controller for the List page I am able to use, :order_by =>
‘name’ , under the Def List.
I have tried this in <% @peoplekinds.each do |peoplekind| %> above,
but this does not work. How far off track am I?