add symbol in collection_select helper

<%= :report_ids, { |r| ["#{} #{r.surname}",] } , {}, :multiple => true, :size => 10 %>

hi I am new to rails, here why dont we use a method which is not a table attribute but a user defined one which is defined as we need like display of both surname and name concatenated. i tried but i am getting error pls clarify me thanks in advance

MaurĂ­cio Linhares wrote: