# Auto\_complete\_for not found?

**URL:** <https://www.ruby-forum.com/t/auto-complete-for-not-found/147386>\
**Category:** Rails\
**Created:** [September 1, 2008, 10:26am UTC](https://www.ruby-forum.com/t/auto-complete-for-not-found/147386 "2008-09-01T10:26:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 1, 2008, 10:26am UTC](https://www.ruby-forum.com/t/auto-complete-for-not-found/147386/1 "2008-09-01T10:26:53Z")

</div>

I tried installing the plugin and it told me it was already installed  
but when i go to use it it tells me:

undefined method `auto\_complete\_for’ for AdminController:Class

Here is how i have added it:

class AdminController \< ApplicationController  
before\_filter :check\_authentication, :check\_authorization  
auto\_complete\_for :user, :username  
/other code/

end

Any thoughts?

---

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 1, 2008, 10:42am UTC](https://www.ruby-forum.com/t/auto-complete-for-not-found/147386/2 "2008-09-01T10:42:08Z")

</div>

On Mon, Sep 1, 2008 at 12:44 AM, tashfeen.ekram  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I tried installing the plugin and it told me it was already installed  
> but when i go to use it it tells me:

auto\_complete, right?

> Any thoughts?

Have you restarted the application?

---

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 1, 2008, 6:24pm UTC](https://www.ruby-forum.com/t/auto-complete-for-not-found/147386/3 "2008-09-01T18:24:54Z")

</div>

I did restart the application. It still did not work.

here is the plug-in i want to use:  
[http://www.railslodge.com/plugins/743-auto-complete](http://www.railslodge.com/plugins/743-auto-complete)

does this come installed on the latest Rails?

---

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 2, 2008, 1:58am UTC](https://www.ruby-forum.com/t/auto-complete-for-not-found/147386/4 "2008-09-02T01:58:12Z")

</div>

On Mon, Sep 1, 2008 at 6:24 PM, Tashfeen Ekram  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I did restart the application. It still did not work.
> 
> here is the plug-in i want to use:  
> [http://www.railslodge.com/plugins/743-auto-complete](http://www.railslodge.com/plugins/743-auto-complete)
> 
> does this come installed on the latest Rails?

Nope, you need to install it

```
script/plugin install auto_complete

```

– fxn
