crowdint/rails3-jquery-autocomplete

How can I add an ID - Field to the search?

brenoman opened this issue · 0 comments

Example, There's a model with id and name
When the autocomplete makes the search, it looks for the name and displays the name.
I would like to search for ID or Name and I would like for it to return me in this format:
"ID - Name", instead of just "Name"
How can I accomplish that without changing the gem?