Acts_as_ferret and ajax

I want to do a thing like Google does in the eMail name lookup, where I
can type a few characters and then make ajax call and get back a list

TIA

You want to use Ajax Autocomplete.
Check out the raw usage at http://wiki.script.aculo.us/
Or
http://api.rubyonrails.org/classes/ActionView/Helpers/JavaScriptMacrosHelper.html#M000579

In your model, make it acts_as_ferret with the appropriate fields.
In your controller use find_by_contents to get the list of possible
contacts using the search string

I can provide code examples if you want, but this should be enough to
point you in the right direction anyway.

Luke

On Jan 9, 1:09 am, Bartee L. [email protected]