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

Clean up README.

parent e40f0fc7
No related branches found
No related tags found
No related merge requests found
......@@ -83,9 +83,10 @@ Be sure to read <i>Latitude/Longitude Order</i> in the <i>Notes on MongoDB</i> s
MongoMapper is very similar to Mongoid, just be sure to include <tt>Geocoder::Model::MongoMapper</tt>.
=== MongoMapper, Mongoid Indexes
=== Mongo Indices
By default, the methods <tt>geocoded_by</tt> and <tt>reverse_geocoded_by</tt> create a geospatial index. You can avoid index creation with the <tt>:skip_index option</tt>, for example:
By default the methods geocoded_by and reverse_geocoded_by will create a geospatial index. If you want to skip this option call the methids with the :skip_index option
include Geocoder::Model::Mongoid
geocoded_by :address, :skip_index => true
......
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