Displaying 1 result from an estimated 1 matches for "media_creators".
Did you mean:
media_creator
2006 Jul 30
2
options_from_collection_for_select & multiple columns
...drop-down with the id and the person''s name consisting of the first and
last names concatenated together.
Can''t figure out how to tell options_from_collection_for_select to do
that.
Any ideas?
I basically need to do something like:
<%= options_from_collection_for_select @media_creators, "id", "last_name
+ '' '' + first_name", @media.media_creator_id %>
media belongs_to media_creator
media_creator has_many media
Thanks!
--
Posted via http://www.ruby-forum.com/.