Skip to content
Snippets Groups Projects
Commit 5252a127 authored by Alex Reisner's avatar Alex Reisner
Browse files

Merge branch 'master' of github.com:alexreisner/geocoder

parents ac6fe0c9 a8f8f5df
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-19mode
gemfile:
- Gemfile
- gemfiles/Gemfile.mongoid-2.4.x
......@@ -17,3 +18,6 @@ matrix:
- rvm: 1.9.3
gemfile: gemfiles/Gemfile.mongoid-2.4.x
env: SSL_CERT_DIR=/etc/ssl/certs
- rvm: jruby-19mode
gemfile: gemfiles/Gemfile.mongoid-2.4.x
env: SSL_CERT_DIR=/etc/ssl/certs
......@@ -511,7 +511,6 @@ When you install the Geocoder gem it adds a `geocode` command to your shell. You
There are also a number of options for setting the geocoding API, key, and language, viewing the raw JSON reponse, and more. Please run `geocode -h` for details.
Notes on MongoDB
----------------
......@@ -533,6 +532,13 @@ Calling `obj.coordinates` directly returns the internal representation of the co
For consistency with the rest of Geocoder, always use the `to_coordinates` method instead.
Notes on Non-Rails Frameworks
-----------------------------
If you are using Geocoder with ActiveRecord and a framework other than Rails (like Sinatra or Padrino) you will need to add this in your model before calling Geocoder methods:
extend Geocoder::Model::ActiveRecord
Optimisation of Distance Queries
--------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment