Displaying 1 result from an estimated 1 matches for "auto_complete_for_partnership_nam".
Did you mean:
auto_complete_for_partnership_name
2008 Jun 19
2
undefined method `text_field_with_auto_complete'
...-2-0-tutorial.html
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
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~...