autocomplete for

Hi,

I've got an old ruby app to update.

I've got 2.1.0 Rails and the controllers to update has an
autocomplete_for macro.

How can I update this, the API says it's deprecated.

Thanks

Try script/plugin install auto_complete

doppler

is there any tutorial about it for has_many model?