/jrails_auto_complete

add-on plugin for jrails to give support for auto complete in rails

Primary LanguageJavaScriptMIT LicenseMIT

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