I have just started using RoR and am creating some select boxes on my form 
with the following code:
<%= select_tag(options_from_collection_for_select(Owner.all, :id, :fname)) 
%>
My problem is that it does NOT return the first record from the table, but 
just the second and succeeding records.
Does anyone have any ideas on how I can get the first record included in 
the select box?
Thanks.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/hRk-fSwUgWIJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to