2013-08-05 50 views

回答

0

你可以這樣做填充:

<%= f.input :user_id, :as => :select, :collection => [[current_user.firstname+' ' +current_user.lastname, current_user.id]], :label=>"Names"%>