This repository was archived by the owner on Nov 8, 2022. It is now read-only.
evilmarty/jrails_auto_complete
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
JrailsAutoComplete
==================
This plugin adds autocomplete support to jrails. This plugin works similarly to the build in rails auto complete
Example
=======
In the controller you can use the macro function as such
class ExampleController < ApplicationController
auto_complete_for :fruit, :name
...
end
In your view:
<%= javascript_include_tag 'jquery', 'jrails', 'jquery.suggest' %>
...
<%= text_field_with_auto_complete :fruit, :name %>
Copyright (c) 2009 Marty Zalega, released under the MIT license