auto_complete not completing.

Discussion in 'Ruby' started by lynn, Jun 9, 2008.

  1. lynn

    lynn Guest

    Here is what I have done.

    1. In controller: auto_complete_for :search, :string
    2. Layouts/search.rhtml <%=javascript_include_tag :defaults %>
    3. Views/search: <%= text_field_with_auto_complete 'search',
    'string', :size => 35 %>

    Any idea what I am missing?

    Thank you,
    Lynn
     
    lynn, Jun 9, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DKP

    completing a link

    DKP, Jul 23, 2004, in forum: HTML
    Replies:
    2
    Views:
    392
  2. strotee76
    Replies:
    9
    Views:
    10,990
    Brian M. Dean
    May 8, 2005
  3. Peter A. Schott
    Replies:
    0
    Views:
    279
    Peter A. Schott
    Aug 23, 2005
  4. Saran
    Replies:
    0
    Views:
    279
    Saran
    Oct 18, 2006
  5. Varun Goel

    Auto_Complete problem?

    Varun Goel, Jun 3, 2008, in forum: Ruby
    Replies:
    1
    Views:
    102
    Oscar Del Ben
    Jun 3, 2008
Loading...

Share This Page