README.rdoc in spatial_adapter-0.3.1 vs README.rdoc in spatial_adapter-1.0.0

- old
+ new

@@ -26,20 +26,39 @@ This is the preferred method of installation, and will pull in the required dependencies as well. gem install spatial_adapter -In your Rails app, you can add a gem dependency in environment.rb: +In a Rails app, you can add a gem dependency in environment.rb: config.gem "spatial_adapter" === As a Rails Plugin In your Rails project, run the following: script/plugin install git://github.com/fragility/spatial_adapter.git You need to have Git installed first. + +== Configuration + +Choose the database type for which you would like to use spatial_adapter, and +load each with + + require 'spatial_adapter/[database]' + +where [database] should be replaced with one of the following: + +- postgresql +- mysql + +For example to use the PostgreSQL spatial adapter: + + require 'spatial_adapter/postgresql' + +In a Rails app, spatial_adapter will automatically load the adapter for the database +specified in your database.yml configuration. == Operations Geometric columns in your ActiveRecord models now appear just like any other column of other basic data types. They can also be dumped in ruby schema mode