diff --git a/README.rdoc b/README.rdoc index 1803f6901eb14e5e1de61076ffccde112b59a031..db8eddb0b191cbe93f9776657e47718f1c28d12b 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: