This is some basic searching using the Twitter typehead library and Rails.
Demo is written based on my blog post. You can find there more info and details about implementation.
To run it clone the repo, bundle and run
rake db:seeds
On the index page there is a text input where you can test searching. You can find users inserted from seeds by their email, github_username or name.