README.markdown in rails3-jquery-autocomplete-0.6.6 vs README.markdown in rails3-jquery-autocomplete-0.7.0

- old
+ new

@@ -137,10 +137,19 @@ This wouldn't really make much sense unless you use it with the :id_element HTML tag. (See below) Only the object's id and the column you are searching on will be returned in JSON, so if your display_value method requires another parameter, make sure to fetch it with the :extra_data option + +#### :scopes + Added option to use scopes. Pass scopes in an array. + e.g `:scopes => [:scope1, :scope2]` + +#### :column_name + By default autocomplete uses method name as column name. Now it can be specified using column_name options + `:column_name => 'name'` + ### View On your view, all you have to do is include the attribute autocomplete on the text field using the url to the autocomplete action as the value. @@ -286,5 +295,6 @@ # About the Author [Crowd Interactive](http://www.crowdint.com) is an American web design and development company that happens to work in Colima, Mexico. We specialize in building and growing online retail stores. We don’t work with everyone – just companies we believe in. Call us today to see if there’s a fit. Find more info [here](http://www.crowdint.com)! +