Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 javascripts
Octocat-spinner-32 lib
Octocat-spinner-32 tasks
Octocat-spinner-32 test
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 init.rb
Octocat-spinner-32 install.rb
Octocat-spinner-32 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.