public
Description: add-on plugin for jrails to give support for auto complete in rails
Homepage:
Clone URL: git://github.com/evilmarty/jrails_auto_complete.git
name age message
file MIT-LICENSE Mon Jan 05 03:06:59 -0800 2009 'oi' [evilmarty]
file README Mon Jan 05 03:06:59 -0800 2009 'oi' [evilmarty]
file Rakefile Mon Jan 05 03:06:59 -0800 2009 'oi' [evilmarty]
file init.rb Mon Apr 20 04:41:16 -0700 2009 restructed plugin to be more compatible with au... [evilmarty]
file install.rb Mon Apr 20 04:41:16 -0700 2009 restructed plugin to be more compatible with au... [evilmarty]
directory javascripts/ Tue Oct 13 16:11:12 -0700 2009 fixed bug [Ethan]
directory lib/ Thu Sep 10 03:52:04 -0700 2009 Fix fatal bug: use object_name and method_name ... [collimarco]
directory tasks/ Mon Jan 05 03:06:59 -0800 2009 'oi' [evilmarty]
directory test/ Mon Jan 05 03:06:59 -0800 2009 'oi' [evilmarty]
file uninstall.rb Mon Apr 20 04:41:16 -0700 2009 restructed plugin to be more compatible with au... [evilmarty]
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