undefined method `text_field_with_auto_complete'

Hello everybody,

I am new to ruby on rails, I am trying to create an auto_complete field
on Ruby on Rails 2.0 and even though I have installed the auto_complete
plugin and followed the instructions of various tutorials, specially the
following: http://trix.pl/blog/auto-complete-for-rails-2-0-tutorial.html

I am still getting the same error:

undefined method `text_field_with_auto_complete'

The following is my code:

<%= javascript_include_tag :defaults %>
<%= text_field_with_auto_complete :partnership, :name, {}, {:method =>
:get} %>

def auto_complete_for_partnership_name

map.resources :partnerships, :collection =>
{:auto_complete_for_partnership_name => :get }

At this point i am suspecting it has to do with the version of


Hey just go through the link

You can find solution

Thank You!!