diff --git a/README.md b/README.md index 1285497b046d2289aee771a1da40ed1fd0706670..fbc00dd9607378c2ca8ff0fdc25bf96851118418 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,10 @@ Reverse geocoding is similar: reverse_geocoded_by :coordinates after_validation :reverse_geocode # auto-fetch address +Once you've set up your model you'll need to create the necessary spatial indices in your database: + + rake db:mongoid:create_indexes + Be sure to read _Latitude/Longitude Order_ in the _Notes on MongoDB_ section below on how to properly retrieve latitude/longitude coordinates from your objects. ### MongoMapper