From 2efda5693b8d1689b506766aee733fe19da9ad96 Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Thu, 1 Oct 2009 12:55:27 -0400 Subject: [PATCH] Rename README sections: Install/Configure/Use. --- README.rdoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.rdoc b/README.rdoc index 1803f690..db8eddb0 100644 --- a/README.rdoc +++ b/README.rdoc @@ -2,7 +2,7 @@ Geocoder adds database-agnostic object geocoding to Rails (via Google). It does not rely on proprietary database functions so reasonably accurate distances can be calculated in MySQL or even SQLite. -== Setup +== Install Install either as a plugin: @@ -16,6 +16,8 @@ or as a gem: # at command prompt: sudo rake gems:install +== Configure + To add geocoding features to a class: geocoded_by :location @@ -36,8 +38,7 @@ If your model has +address+, +city+, +state+, and +country+ attributes your +loc [address, city, state, country].compact.join(', ') end - -== Features +== Use Assuming +Venue+ is a geocoded model: -- GitLab