Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4010146
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:57:51+00:00 2026-05-20T08:57:51+00:00

HI , I am using Auto complete in rails . My auto complete looks

  • 0

HI ,

I am using Auto complete in rails .

My auto complete looks like

          <%= text_field_with_auto_complete User.name, :login, { :size => 15 }, { :url => {:controller => 'users', :action => 'autocomplete_for_supervisors'}, :method => :get, :param_name => 'term'} %>

This generates the fields where

     <input type="text"  size="15" name="Franklin Roosevl[login]" id="Franklin_Roosevl_login">
     <div id="Franklin Roosevl_login_auto_complete" class="auto_complete"></div>

This doesnt allows me to do auto complete .
But if my Username is a single name its working perfectly
How to solve this issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T08:57:52+00:00Added an answer on May 20, 2026 at 8:57 am

    Why are you naming your text field with User.name??

    Maybe you should try this:

    <%= text_field_with_auto_complete :user, :login, { :size => 15 }, { :url => {:controller => 'users', :action => 'autocomplete_for_supervisors'}, :method => :get, :param_name => 'term'} %>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to build an auto complete using Solr (TermsComponent) and Rails. Now
I am trying to make a auto complete box using ruby on rails, jquery
I have using auto-complete functionality in PHP for the text box of first name.
When using auto implemnted properies like public string MyProperty { get; set; } This
I've been using Netbeans for Rails and like it a lot, considering how little
I am using the auto complete plugin by Devbridge and I have it all
Iam using auto Complete method and spilliting the label and value $(#txt1).autocomplete({ minLength: 1,
It seems that eclipse has always had some flaky auto-complete functionality. I'm now using
Hey Guys. I have got a problem on using the jquery auto-complete plugin.my problem
We're using Rails asset caching for JS and CSS like this: <%= stylesheet_link_tag 'reset','global','admins','autocomplete',

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.