rails 3 jquery autocomplete for multiple search value from single field

There is an example app that uses this and shows how it's done:

https://github.com/crowdint/rails3-jquery-autocomplete-app

Thanks mate!! I have referred these link, but, I have to search a particular data using different fields in one single search textbox which can search a name as well as city. plz help.