Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
add-on plugin for jrails to give support for auto complete in rails
JavaScript Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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
Something went wrong with that request. Please try again.