Scriptaculous Problem

I am using the auto complete feature provided by Scriptaculous in an
Rails application.Here
is have to write following string in the view:
Select name:
<%= text_field_with_auto_complete :contact, :name %>
and i have to write following write in the controller:
auto_complete_for :contact, :name
But after putting in this code it does’nt work. I knw that i hve to
create a database but hw to mention it in the code? Is the :contact
mentioned above is the model corresponding to database name contacts?
Interestingly it shows no error.

Did you see if your browser is sending request to the server ? And
development logs ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs