add-on plugin for jrails to give support for auto complete in rails
JavaScript Ruby
Pull request Compare This branch is 2 commits ahead, 2 commits behind evilmarty:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
javascripts
lib
tasks
test
MIT-LICENSE
README
Rakefile
init.rb
install.rb
uninstall.rb

README

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