# \[ANN\] model\_auto\_completer 1.5.0

**URL:** <https://www.ruby-forum.com/t/ann-model-auto-completer-1-5-0/133531>\
**Category:** Rails\
**Created:** [April 1, 2008, 11:09am UTC](https://www.ruby-forum.com/t/ann-model-auto-completer-1-5-0/133531 "2008-04-01T11:09:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [April 1, 2008, 11:09am UTC](https://www.ruby-forum.com/t/ann-model-auto-completer-1-5-0/133531/1 "2008-04-01T11:09:31Z")

</div>

model\_auto\_completer 1.5.0 is out:

– 1.5.0 (31 March 2008)

- Wrote semi-automated test suite
- New option :append\_random\_suffix to be able to turn random  
suffixes off
- New option :submit\_on\_return, alias of :send\_on\_return
- Marked :send\_on\_return as deprecated
- Documented dependency with auto\_complete in Rails 2
- Updated copyright
- Added :url option to support named routes
- Revised and simplified documentation
- Fixed the way the macro auto\_complete\_belongs\_to\_for figures out  
the  
class name of the association
- Fixed a bug that showed up when you selected two items with the  
mouse
- :submit\_on\_return no longer checks the browser

What’s this?

model\_auto\_completer is a Rails plugin that provides autocompletion  
for models. That is, the user autocompletes a text field, but the  
widget is able to manage a hidden field that stores the ID of the  
model that corresponds to the selected completion.

Such a widget may be useful when the number of options is too much for  
a select. Say you need to assign a director to a movie having a  
database of hundreds of directors. With this plugin it is easy to let  
the user autocomplete by director name, and have a robust database ID  
managed under the hood.

– fxn

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [April 1, 2008, 7:23pm UTC](https://www.ruby-forum.com/t/ann-model-auto-completer-1-5-0/133531/2 "2008-04-01T19:23:28Z")

</div>

Similar: [http://code.google.com/p/recordselect/](http://code.google.com/p/recordselect/)  
Example: [http://recordselect.codelevy.com/form-helper](http://recordselect.codelevy.com/form-helper)

On Tue, Apr 1, 2008 at 2:08 AM, Xavier N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> - Updated copyright
> 
> – fxn
> 
> >

–  
rails blog: [http://codelevy.com](http://codelevy.com)  
co-founder: [http://uservoice.com](http://uservoice.com)
