Local Auto Complete
Allows for the usage of Autocompleter.Local in the Script.aculo.us javascript library.
ResourcesInstall * Run the following command:
script/plugin install https://svn.nbarthelemy.com/local_auto_complete
Usage
* Controller
class ContactsController < ApplicationController
local_auto_complete_for :contact, :name
end
* View
<%= start_form_tag %>
<%= text_field_tag :contact_name %>
<%= submit_tag ‘Search’ %>
<%= end_form_tag %>
<%= local_auto_complete_field :contact_name, :url => ’/contacts/auto_complete_for_contact_name’ %>
== Credits
Matthias Georgi - http://themysteriouswaysofruby.blogspot.com/2007/04/fast-autocompletion-with-rails.html
- Repository Path: https://svn.nbarthelemy.com/local_auto_complete/