Hi, I am filling a collection_select with a list of models references based on a column named "model_ref". <%= collection_select(:assets, :model_id, @models, :id, :model_ref,:prompt => ''- Select a model -'') %></p> I have two issues : 1) I would like to concatenate another column next to the model reference inside the option value with the description of this model reference. I''ve tried : <%= collection_select(:assets, :model_id, @models, :id, {:model_ref :description}, :prompt => ''- Select a model -'') %></p> But it doesn''t work, the text_method of collection_select doesn''t seams to support two columns. Any idea I can do that ? 2) The ":prompt =>''-Select a model-''" doesn''t work. I''ve tried as the rails API suggest "options={:prompt => ''- Select a model -''}" Same problem. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---