Questions tagged [rails-geocoder]

Geocoder is a complete geocoding solution for Ruby. With Rails it adds geocoding (by street or IP address), reverse geocoding (find street address based on given coordinates), and distance queries. It’s as simple as calling geocode on your objects, and then using a scope like Venue.near("Billings, MT").

Homepage

Source

397 questions
-1
votes
2 answers

Rails - geocode by continent, country and city

I am trying to put together a directory of some of the worlds best cities around the world. I have: ContinentsController < ApplicationController def index end def show end end CountriesController <…
-1
votes
1 answer

Any ideas how to setup geocoder with rails 5?

I am trying to get latitude and longitude from address but when I run rails db:seed latitude and longitude stay blank and the rest of the fields will be seeded here is my model attr_accessor :lat, :lng geocoded_by :address, :latitude =>…
Hindreen
  • 98
  • 1
  • 9
-1
votes
1 answer

Rails geocoder gem | Google API error: over query limit

I know there are others questions with the same problem but i don't find the solution in them. In my rails project(it is in development) when i try to send address for the first time at day the geocoder don't search lat and long. In the terminal…
Léo Rocha
  • 324
  • 3
  • 13
-1
votes
1 answer

Rails, Mongoid, Geocoder and Mapbox

I work on an application that already exist, and I have to create a new feature that is already exist, I just have to copy past the code and change some words. This code is simple, when you arrive on the page there is a map on the right and some…
-1
votes
1 answer

How to re-run method in model rails

Im using the geocoder gem. I am looking up zipcodes for addresses. I have old addresses that I need to run the :reverse_geocode method on, but cannot figure out how to re-run the method on older data. How would I go about doing this? In other…
Colton Seal
  • 379
  • 2
  • 14
-1
votes
3 answers

undefined method `latitude=' Geocoder Rails

I'm trying to get Geocoder working in my app. I am trying to use a user's zip code to geocode their location and I've run into this error upon submitting a new sign-up: NoMethodError in Devise::RegistrationsController#create undefined method…
settheline
  • 3,333
  • 8
  • 33
  • 65
-2
votes
1 answer

The difference of the Geocoder result and autocomplete

I'm making the airbnb clone now. In this application I'm using geocoder gem and google autocomplete. In the top page, there is a search form. In that form I'm using autocomplete and Geocoder. When user select autocomplete field I get lat and lng…
1 2 3
26
27