2010-07-04 29 views

回答

2

include_blank是選擇輔助選項,讓你幾乎有:

select_tag(:article_id, option_groups_from_collection_for_select(@article, :categories, :name, :id, :name), {:include_blank => "Select one category"}) 
相關問題