# Undefined method \`auto\_complete\_for'

**URL:** <https://www.ruby-forum.com/t/undefined-method-auto-complete-for/141378>\
**Category:** Rails\
**Created:** [June 25, 2008, 7:09am UTC](https://www.ruby-forum.com/t/undefined-method-auto-complete-for/141378 "2008-06-25T07:09:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prasanna\_kumar\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@Prasanna\_kumar\_N](https://www.ruby-forum.com/u/Prasanna_kumar_N)\
**Post date:** [June 25, 2008, 7:09am UTC](https://www.ruby-forum.com/t/undefined-method-auto-complete-for/141378/1 "2008-06-25T07:09:55Z")

</div>

Migrated from rails 1.2.2 to rails 2.0

Now i get the following error, which was working earlier.

undefined method `auto\_complete\_for’

Aftter reading several posts…i tried to run  
script\plugin install auto\_complte

it says

C:\ex\myapp\>ruby script\plugin install auto\_complete  
Plugin not found: [“auto\_complete”]

so tried

C:\ex\myapp\>ruby script\plugin install  
[http://svn.rubyonrails.org/rails/plugins/a](http://svn.rubyonrails.org/rails/plugins/a)  
uto\_complete

- ./auto\_complete/README
- ./auto\_complete/Rakefile
- ./auto\_complete/init.rb
- ./auto\_complete/lib/auto\_complete.rb
- ./auto\_complete/lib/auto\_complete\_macros\_helper.rb
- ./auto\_complete/test/auto\_complete\_test.rb

it installed some auto\_complete stuff in vendor/plugins folder.

But still see the auto\_complete\_for undefined error.

Can you please let me know if I have missed out any step?

Thanks  
Prasanna

---

<div class="post-metadata">

**Author:** ![Prasanna\_kumar\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@Prasanna\_kumar\_N](https://www.ruby-forum.com/u/Prasanna_kumar_N)\
**Post date:** [June 25, 2008, 5:19pm UTC](https://www.ruby-forum.com/t/undefined-method-auto-complete-for/141378/2 "2008-06-25T17:19:29Z")

</div>

On Wed, Jun 25, 2008 at 7:09 AM, Prasanna kumar Nagasamudram  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> But still see the auto\_complete\_for undefined error.
> 
> Can you please let me know if I have missed out any step?

Did you restart the server?

---

<div class="post-metadata">

**Author:** ![Prasanna\_kumar\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@Prasanna\_kumar\_N](https://www.ruby-forum.com/u/Prasanna_kumar_N)\
**Post date:** [June 25, 2008, 5:34pm UTC](https://www.ruby-forum.com/t/undefined-method-auto-complete-for/141378/3 "2008-06-25T17:34:10Z")

</div>

On 25 Jun 2008, at 16:28, Prasanna kumar Nagasamudram wrote:

> There is only ftp acesss…so i cant restart the server.  
> well you can’t install a plugin without restarting the server (and by  
> server i mean the process(es) running your rails code) so you’ll have  
> to get the server people to do that for you.

Fred

---

<div class="post-metadata">

**Author:** ![Prasanna\_kumar\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@Prasanna\_kumar\_N](https://www.ruby-forum.com/u/Prasanna_kumar_N)\
**Post date:** [June 25, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/undefined-method-auto-complete-for/141378/4 "2008-06-25T17:37:51Z")

</div>

Frederick C. wrote:

> On 25 Jun 2008, at 16:28, Prasanna kumar Nagasamudram wrote:
> 
> > There is only ftp acesss…so i cant restart the server.  
> > well you can’t install a plugin without restarting the server (and by  
> > server i mean the process(es) running your rails code) so you’ll have  
> > to get the server people to do that for you.
> 
> Fred

I have asked them to run the script/plugin command so i hope they would  
restart the server. Stil waiting for the response.

---

<div class="post-metadata">

**Author:** ![Prasanna\_kumar\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@Prasanna\_kumar\_N](https://www.ruby-forum.com/u/Prasanna_kumar_N)\
**Post date:** [June 25, 2008, 5:28pm UTC](https://www.ruby-forum.com/t/undefined-method-auto-complete-for/141378/5 "2008-06-25T17:28:46Z")

</div>

Xavier N. wrote:

> On Wed, Jun 25, 2008 at 7:09 AM, Prasanna kumar Nagasamudram  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > But still see the auto\_complete\_for undefined error.
> > 
> > Can you please let me know if I have missed out any step?
> 
> Did you restart the server?

I will tell the actual problem.

I had developed an app using rais 1.2.2.  
Everything was working perfectly fine.

But when im trying to host it on a server which has rails 2.0  
im facing all the problems…so im trying to run the plugin command on  
my local setup which has 1.2.2 and trying to copy the plugin files to  
the online server.

There is only ftp acesss…so i cant restart the server.
