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: Trix - Ruby & Javascript Experts
I am still getting the same error:
undefined method `text_field_with_auto_complete'
The following is my code:
#view <%= javascript_include_tag :defaults %> <%= text_field_with_auto_complete :partnership, :name, {}, {:method => :get} %>
#Controller def auto_complete_for_partnership_name end
#Routes.rb map.resources :partnerships, :collection => {:auto_complete_for_partnership_name => :get }
At this point i am suspecting it has to do with the version of Script.aculo.us
Thanx