Hi - I'm a complete newbie.
I've used things like:-
<%= f.input :itemtype, label:"Item Type", :collection => [ "Active", "Assembly", "Cable", "Hardware" ], :prompt => "Select Type" %>
With great success, but when I try to pull the collection data from a table:-
<%= f.input :engineer, :collection => Engineer.all(:order => 'firstname'), :prompt => "Select Engineer" %>
I get the dropdown populated with a weird ID, rather than the firstname column which I need - I'm obviously missing something crucial.. help!