From 2be6d155b9abba6cb87a103b0fa46d6540f47478 Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Mon, 12 Oct 2009 22:00:53 -0400 Subject: [PATCH] Clean up documentation. --- README.rdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rdoc b/README.rdoc index 9b0ba741..b625facf 100644 --- a/README.rdoc +++ b/README.rdoc @@ -2,7 +2,7 @@ Geocoder adds object geocoding and database-agnostic distance calculations to Ruby on Rails. It does not rely on proprietary database functions so finding geocoded objects in a given area is easily done using out-of-the-box MySQL or even SQLite. -== Install +== 1. Install Install either as a plugin: @@ -16,7 +16,7 @@ or as a gem: # at command prompt: sudo rake gems:install -== Configure +== 2. Configure To add geocoding features to a class: @@ -38,7 +38,7 @@ If your model has +address+, +city+, +state+, and +country+ attributes your +loc [address, city, state, country].compact.join(', ') end -== Use +== 3. Use Assuming +Venue+ is a geocoded model: -- GitLab