Source: http://tutor.lugolabs.com/articles/17-jquery-ui-autocomplete-with-ruby-on-rails?utm_source=rubyweekly&utm_medium=email