Skip to content

Commit

Permalink
README change to reallocate Rails 3.0 specific instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
David Padilla committed Oct 16, 2011
1 parent cf3f67d commit 2464cc5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,30 +50,30 @@ And include autocomplete-rails.js on your layouts

javascript_include_tag "autocomplete-rails.js"

### Rails 3.1.x

Just add it to your app/assets/javascripts/application.js file

//= require jquery
//= require jquery_ujs
//= require jquery_ui
//= require autocomplete-rails

## Upgrading from older versions
#### Upgrading from older versions

If you are upgrading from a previous version, run the generator after installing to replace the javascript file.

rails generate autocomplete:install

I'd recommend you do this every time you update to make sure you have the latest JS file.

## Uncompressed Javascript file
#### Uncompressed Javascript file

If you want to make changes to the JS file, you can install the
uncompressed version by running:

rails generate autocomplete:uncompressed

### Rails 3.1.x

Just add it to your app/assets/javascripts/application.js file

//= require jquery
//= require jquery_ujs
//= require jquery_ui
//= require autocomplete-rails

## Usage

### Model Example
Expand Down

0 comments on commit 2464cc5

Please sign in to comment.