Rails autocomplete

I have got the rails autocomplete plugin working fine, all works very well, but in my form I have this

<%= text_field_with_auto_complete :memberid, :description, {:size => 15} %>

So when I make a new item I enter a memberid, and it saves it to the database, no problems. But when I want to edit this item the memberid field is blank, so I can't see what the memberid is.

Is there a way I can have the text appear in the filed, and so I can change it using autocomplete, like with a standard text_field.

Andrew

Are you sure it's memberid and not member_id?

Erol Fornoles wrote: