Autocomplete

Hello Experts,

small piece of ex: <%= text_field_with_auto_complete :contact, :name
%> - Single name

well, my question is i want to implement this field as array or
objects. i want to pass name as array to server.

so how could i go from here?

any suggestions?

thank you,

Bala