you can use this gem: gem 'rails3-jquery-autocomplete', git: 'https://github.com/francisd/rails3-jquery-autocomplete'
it doesnt require loading the whole jquery-ui so you can remove it then and the performance will be better.