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: #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/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hey just go through the link You can find solution http://demo.script.aculo.us/ajax/autocompleter -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Felipe Buenano
2008-Jun-20 01:11 UTC
Re: undefined method `text_field_with_auto_complete''
Thank You!! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Apparently Analagous Threads
- undefined method `text_field_with_auto_complete'
- text_field_with_auto_complete nonsense (newbie question)
- text_field_with_auto_complete problem
- Upgrading from Rails 1.3.x to 2.3.2 - text_field_with_auto_complete not working
- question on text_field_with_auto_complete