From 0b3e1271b23073954c7fba996ab01c9a256ed1fa Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Wed, 30 Mar 2011 00:48:27 -0400 Subject: [PATCH] Remove premature mention of Mongoid. --- README.rdoc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/README.rdoc b/README.rdoc index 01ffe018..222073b4 100644 --- a/README.rdoc +++ b/README.rdoc @@ -42,15 +42,6 @@ At the command prompt: For reverse geocoding your model must provide a method that returns an address. This can be a single attribute, but it can also be a method that returns a string assembled from different attributes (eg: +city+, +state+, and +country+). -*Mongoid:* Define your address and coordinate fields right in the model. You also need to include the <tt>Geocoder::Model::Mongoid</tt> module _before_ calling <tt>geocoded_by</tt>: - - field :address - field :latitude, :type => Float - field :longitude, :type => Float - - include Geocoder::Model::Mongoid - geocoded_by :address - === Model Behavior In your model, tell Geocoder which method returns your object's full address: -- GitLab