# Auto\_complete plugin trouble

**URL:** <https://www.ruby-forum.com/t/auto-complete-plugin-trouble/175666>\
**Category:** Rails\
**Created:** [September 17, 2009, 10:34am UTC](https://www.ruby-forum.com/t/auto-complete-plugin-trouble/175666 "2009-09-17T10:34:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrei](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@andrei](https://www.ruby-forum.com/u/andrei)\
**Post date:** [September 17, 2009, 10:34am UTC](https://www.ruby-forum.com/t/auto-complete-plugin-trouble/175666/1 "2009-09-17T10:34:01Z")

</div>

Hi,  
I want to use auto completion (following screencast  
[#102 Auto-Complete Association - RailsCasts](http://railscasts.com/episodes/102-auto-complete-association)), but  
something is not working. In Aptana RadRails I have installed  
auto\_complete plugin. But then when I access list of my categories by  
[http://127.0.0.1:3000/categories.js](http://127.0.0.1:3000/categories.js), the following error message  
appears:

undefined method `auto\_complete\_result’ for #\<ActionView::Base:  
0x560b4a4\>

When I try to access my form, then I see the following message:

undefined method `text\_field\_with\_auto\_complete’ for  
#ActionView::Base:0x7896eec

It seems to be a quite common problem, but I haven’t found a solution  
yet.  
I am using Rails 2.3.2.

Could you help me?

---

<div class="post-metadata">

**Author:** ![andrei](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@andrei](https://www.ruby-forum.com/u/andrei)\
**Post date:** [September 17, 2009, 11:28am UTC](https://www.ruby-forum.com/t/auto-complete-plugin-trouble/175666/2 "2009-09-17T11:28:36Z")

</div>

Andrei wrote:

> Hi,  
> I want to use auto completion (following screencast  
> [#102 Auto-Complete Association - RailsCasts](http://railscasts.com/episodes/102-auto-complete-association)), but  
> something is not working. In Aptana RadRails I have installed  
> auto\_complete plugin. But then when I access list of my categories by  
> [http://127.0.0.1:3000/categories.js](http://127.0.0.1:3000/categories.js), the following error message  
> appears:  
> Hi ,  
> You can use jquery autocomplete plugin which is much better

---

<div class="post-metadata">

**Author:** ![andrei](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@andrei](https://www.ruby-forum.com/u/andrei)\
**Post date:** [September 17, 2009, 12:21pm UTC](https://www.ruby-forum.com/t/auto-complete-plugin-trouble/175666/3 "2009-09-17T12:21:44Z")

</div>

Thanks, Amar.  
I guess jquery plugin is better, however expect the same problem.  
I will try it as soon as I learn how to use it.

On Sep 17, 11:28 am, Amar D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![andrei](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@andrei](https://www.ruby-forum.com/u/andrei)\
**Post date:** [September 27, 2009, 11:36am UTC](https://www.ruby-forum.com/t/auto-complete-plugin-trouble/175666/4 "2009-09-27T11:36:37Z")

</div>

One should use RadRails carefully. That command I have used generated  
a new plugin skeleton instead of installing what I needed.  
The fanny thing, it was written in the console, but who reads it when  
there is a fancy GUI.  
Well, now I do 🙂

Cheers

---

<div class="post-metadata">

**Author:** ![andrei](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@andrei](https://www.ruby-forum.com/u/andrei)\
**Post date:** [September 27, 2009, 4:56pm UTC](https://www.ruby-forum.com/t/auto-complete-plugin-trouble/175666/5 "2009-09-27T16:56:50Z")

</div>

Andrei wrote:

> One should use RadRails carefully. That command I have used generated  
> a new plugin skeleton instead of installing what I needed.  
> The fanny thing, it was written in the console, but who reads it when  
> there is a fancy GUI.  
> Well, now I do 🙂

Yeah. IDEs work best when you understand what they’re automating.

BTW, I recommend that you try developing without an IDE – just use a  
good editor (I like KomodoEdit) and a bunch of terminal windows. Rails  
isn’t J2EE, and doesn’t seem to really benefit from using an IDE.

> Cheers

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
