Skip to main content

All Questions

1 vote
0 answers
909 views

Rails 5: Jquery autocomplete

I have implemented the jquery autocomplete within my rails app. And this is the setup: //= require jquery //= require rails-ujs //= require jquery-ui //= require bootstrap //= require_tree . items....
Theopap's user avatar
  • 765
0 votes
0 answers
79 views

How to implement autocomplete search from google in rails ?

I am newbie in rails ,i don't know how implement this feature in application . please suggest me any basic idea. if any user create a book -> 1) Book name should be auto suggested like Google search(...
TheVinspro's user avatar
0 votes
1 answer
610 views

Rails 4 Autocomplete Form

I am trying to implement an autocomplete form in my rails application. So far I have gone through the following installation steps. Gemfile added: gem 'jquery-rails' gem 'jquery-ui-rails' gem '...
Cody Pritchard's user avatar
0 votes
1 answer
433 views

Rails 4: rails-jquery-autocomplete not showing suggestion

I am trying to create a text input field with autocomplete with rails's rails-jquery-autocomplete. I tried to follow the instruction on this page step-by-step: https://github.com/bigtunacan/rails-...
SL07's user avatar
  • 103
0 votes
1 answer
257 views

rails - autocomplete textfield gem with location

I already have a plugin which I use 'city-state', https://github.com/loureirorg/city-state The gem mentioned above I use it to prepopulate state list based on country selected and then prepopulate ...
Maverick's user avatar
  • 2,760
1 vote
1 answer
286 views

Getting typeahead to work with rails search

I had typeahead and search working in my rails 4 app with typeahead v0.10.5 but since updating to v0.11.1 it broke. I orginally got the code from various answers on this site without really ...
user4584963's user avatar
  • 2,533
0 votes
1 answer
372 views

Limit scope on rails-jquery-autocomplete (rails3-jquery-autocomplete) gem - where clause issue

There is a recommended solution and it seems to work. The issue is in my where clause and I'm not sure what's wrong. For reference, here is the solution(s): https://stackoverflow.com/a/7250426/...
mike0416's user avatar
  • 461
0 votes
1 answer
95 views

undefined local variable or method `autocomplete_skill_name' for

Bellow is my code and files: Rails 4 with gem 'rails4-autocomplete' file: users_controller.rb class UsersController < ApplicationController before_action :confirm_logged_in, :except => [:create, ...
Assaf Vilmovski's user avatar
2 votes
2 answers
794 views

How do I use a pg_search_scope with rails-autocomplete-jquery?

I am using both pg_search and rails-jquery-autocomplete I have a search scope, powered by pg_search, that is used like this: Node.node_search(query). I have tried using that method node_search with ...
marcamillion's user avatar
  • 33.8k
0 votes
1 answer
538 views

Rails-JQuery-Autocomplete search multiple attributes

I'm using the rails-jquery-autocomplete gem to find a customer in a form. Controller class RfqsController < ApplicationController autocomplete :customer, :name, full:true view file <div ...
Suavocado's user avatar
  • 969
0 votes
1 answer
302 views

How do I resolve this issue in Google Maps Autocomplete in my Rails app?

I am creating a rails application for a taxi booking platform that requires entering a pickup point and a drop point. I have included the following script in my application.html.erb for this purpose ...
Rahul Poddar's user avatar
0 votes
1 answer
185 views

Autocomplete doesn't seem to work with ruby on rails

I am trying to implement autocomplete on a textfield for search which has the following code in my view file index.html.erb <%= form_tag search_path, method: :get do %> <p> <%= ...
masuka's user avatar
  • 133
0 votes
1 answer
332 views

Rails why autocomplete association is not working

I have a association between jobs and companies and i want to implement a autocomplete features in my jobs.js.coffe file i have this code jQuery -> $('#job_company_name').autocomplete ...
user avatar
0 votes
1 answer
407 views

rails 4 : autocomplete with find or create by don't work

I have a association one to many between jobs and companies and I have implemented the autocomplete features as mentioned in this railscast enter link description here this is my job model class Job ...
Loenvpy's user avatar
  • 919
2 votes
2 answers
2k views

Rails 4 find_or_create_by_name

I have a association one to many between users and university with auto-complete feature where users can chose the university if founded else they create a new university but the create method doesn'...
user avatar

15 30 50 per page