Hi - i'm obviously a total newbie.

I am trying to use something like:-

<%= f.input :customer, :collection => Customer.all(:order => 'shortname'), 
:prompt => "Select Customer" %>

to render a dropdown, populated from a table. The idea is to display the 
value of short name, but it comes up as the entry from another column. The 
list is being sorted into the correct order.

 I sure this is very simple to someone!


Reply via email to