In Rails, What's the Best Way to Get Autocomplete that Shows Names but Uses IDs?
I want to have a text box that the user can type in that shows an Ajax-populated list of my model's names, and then when the user selects one I want the HTML to save the model's ID, and use that when the form is submitted. I've been poking at the auto_complete plugin that got excised in Rails 2, but it seems to have no inkling that this...