Hi,
  I am A newbee to rails.I want to add Auto complete facility in my
application.I have installed Autocomplete plugin.And i have added the
lines

auto_complete_for :location,:name
in my controller

and in my view i have added

<%= text_field_with_auto_complete :location,:name %>

and i have got a model called Location and a table in my database called
locations with name attribute.

I am using Rails2.1.0 and when i run the application ,there is no
exception thrown.But no autocomplete takes place when i type on the text
box.

Can anyone help me on this?

Thanks in advance.
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to