All Questions
Tagged with autocomplete ruby-on-rails
398 questions
0
votes
1
answer
700
views
Getting data from an autocomplete field to post when form is submitted
I’m seeking some help with an autocomplete text field that I added to an existing data entry form. I want the selected value to be posted back to the database when the form is submitted.
The form was ...
0
votes
1
answer
48
views
Several Users with Large JQuery Autocomplete Data Sets Slowing Down Entire Ruby on Rails App
Just wondering if I can get some suggestions from more senior programmers on perhaps a better way to load large quantities of data in our daycare app.
The app is very basic. When the user signs in, it ...
1
vote
1
answer
174
views
Add Amadeus airport and city search autocomplete to Rails app
What is the best way to send a request to the Amadeus API with a form field that uses autocomplete in a Rails app?
I am adding autocomplete to a search form to query the Amadeus "Airport and City ...
-1
votes
1
answer
25
views
Rails geolocation and users nearby
Hi I would like to implement a function in Rails that serves both to have an autocompletely of the location (I saw that I need the Google API but I have not understood how to do this specifically) and ...
0
votes
1
answer
619
views
Searchkick - Autocomplete with multiple models & fields
Searchkick - Autocomplete with multiple models & fields
I am struggling to implement the autocomplete functionality for multiple models associated to my Post model. The search functionality works ...
0
votes
1
answer
165
views
Speeding up searching through large json array (for jQuery/Rails autocomplete text box)
I have a location text field hooked up to the jquery plugin EasyAutocomplete:
It's working, but the problem is the dataset is large - 100,000 records or so. It takes an unacceptably long time to match ...
1
vote
2
answers
1k
views
How to Implement Autocomplete for Association in simple_form in Rails 6
I'm currently building a book handling project in Rails 6. There are two models Book and Categories, Category can contain many books but a book can only belong to a single category. I'm currently ...
1
vote
1
answer
495
views
Algolia Places and Rails: Autocomplete Form
I have an address form, which I would like to autocomplete upon user typing in the address (in my case starting with the street, which is not an issue, as I tested). Here is what I did so far:
...
-1
votes
1
answer
124
views
Rails autocomplete 50k records
The database stores 50,000 records. Records have a title and id.
I need to do a search by title with autocomplete.
Is jQuery UI + ajax suitable for this? Or are there faster ways to do this?
For ...
0
votes
1
answer
73
views
rails autocomplete gem to limit searches on locale parameter
the following action is invoked for handling by the autcomplete gem
Started GET "/nations/autocomplete_nationtranslation_name?locale=en&term=erm"
Nationtranslation table has an indexed column
t....
1
vote
1
answer
626
views
how to stop autocomplete from working on a specific form field
this is my form field:
.country.booking-field = passenger.select :country,
Country.all.pluck(:name),
{prompt: t('booking.country')},
...
0
votes
1
answer
74
views
Getting Globalize and autocomplete to work together
Using globalize gem to manage translations with autocomplete, there is a situation where a number of hooks need to be properly set. Note: this does not use hstore AFAIK. I have not managed to find a ...
0
votes
1
answer
88
views
Displaying clean results of autocomplete [duplicate]
I found this code online that gives options for autocomplete and I would like to give the options which start the key in letters. For example, if the alphabet 'a' is keyed in, I just want to give ...
0
votes
1
answer
246
views
how to select a object from a collection using text in rails form
I want a text input to select the given options in my rails form.
f.collection_select(:user_id, User.all, :id, :name)
is the closest to what I want, but there are too many users to show as a dropdown....
0
votes
1
answer
385
views
Searchkick autocomplete with multiple attributes
Novice here, having some difficulties implementing an autocomplete using Searchkick and Typeahead/bloodhound.
First of all I have a index/welcome home page where I have my input field for my search ...