Actually, it’s less than 3 minutes. But watch the video for yourself:
The video shows how to use
auto_complete_for and the
text_field_with_autocomplete helper in the up-and-coming next Ruby on Rails version.
Update (second version of video): With a tiny bit more effort, you can even do something like this:
2. Update: A more detailed tutorial and another video on how to use this can be found on Adrian Agafiteis weblog!