README.markdown in rails3-jquery-autocomplete-0.7.2 vs README.markdown in rails3-jquery-autocomplete-0.7.3
- old
+ new
@@ -1,10 +1,10 @@
# rails3-jquery-autocomplete
An easy way to use jQuery's autocomplete with Rails 3.
-Supports both ActiveRecord and [mongoid](http://github.com/mongoid/mongoid).
+Supports both ActiveRecord, [mongoid](http://github.com/mongoid/mongoid), and [MongoMapper](https://github.com/jnunemaker/mongomapper).
Works with [Formtastic](http://github.com/justinfrench/formtastic)
and [SimpleForm](https://github.com/plataformatec/simple_form)
## ActiveRecord
@@ -15,10 +15,14 @@
## MongoID
You can find a [detailed example](http://github.com/crowdint/rails3-jquery-autocomplete-app/tree/mongoid)
on how to use this gem with MongoID [here](http://github.com/crowdint/rails3-jquery-autocomplete-app/tree/mongoid). (Same thing, different branch)
+## MongoMapper
+
+TODO
+
## Before you start
Make sure your project is using jQuery-ui with the autocomplete widget
before you continue.
@@ -201,11 +205,11 @@
## Formtastic
If you are using [Formtastic](http://github.com/justinfrench/formtastic), you automatically get the *autocompleted_input* helper on *semantic_form_for*:
semantic_form_for @product do |f|
- f.autocompleted_input :brand_name, :url => autocomplete_brand_name_path
+ f.autocompleted_input :brand_name, :url => autocomplete_brand_name_products_path
end
The only difference with the original helper is that you must specify the autocomplete url using the *:url* option.
## SimpleForm
@@ -304,9 +308,10 @@
rake db:migrate
cucumber
# Changelog
+* 0.7.3 MongoMapper
* 0.7.2 Steak helper
* 0.7.1 Fixed joined scopes (Issue #43)
* 0.7.0 Scopes
* 0.6.6 ILIKE for postgres
* 0.6.5 JS select event