method

text_field_with_auto_complete

text_field_with_auto_complete(object, method, tag_options = {}, completion_options = {})
public

DEPRECATION WARNING: This method will become a separate plugin when Rails 2.0 ships.

Wrapper for text_field with added AJAX autocompletion functionality.

In your controller, you’ll need to define an action called auto_complete_for to respond the AJAX calls,

See the RDoc on ActionController::Macros::AutoComplete to learn more about this.

1Note

Was removed to a plugin in v 2.0

taryneast ยท Jun 15, 20111 thank

Is now the auto_complete plugin here:

http://github.com/rails/auto_complete