Skip to content

Commit 81cb04a

Browse files
author
Janusz Mordarski
committed
Whitespace cleanup
1 parent 3eb76a5 commit 81cb04a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

History.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
=== 0.4.0 / 2011-08-15
1616

17-
* Various fixes for Rails 3.1 compatibility.
17+
* Various fixes for Rails 3.1 compatibility.
1818
* Now requires rgeo-activerecord 0.4.0.
1919
* INCOMPATIBLE CHANGE: simple queries (e.g. MyClass.where(:latlon => my_point)) use an objective rather than spatial equality test. Earlier versions transformed this form to use st_equals, but now if you need to test for spatial equality, you'll need to call st_equals explicitly. I'm still evaluating which direction we want to go with this in the future, but we may be stuck with the current behavior because the hack required to transform these queries to use spatial equality was egregious and broke in Rails 3.1 with no clear workaround.
2020

README.rdoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ requires the mysql2 gem.
1111

1212
=== Spatial Migrations
1313

14-
First, this adapter extends the migration syntax to support creating
14+
First, this adapter extends the migration syntax to support creating
1515
spatial columns and indexes. To create a spatial column, use the
1616
<tt>:geometry</tt> type, or any of the OGC spatial types such as
1717
<tt>:point</tt> or <tt>:line_string</tt>. To create a spatial index, set
@@ -55,13 +55,13 @@ the "rgeo-activerecord" gem.
5555
Examples, given the spatial table defined above:
5656

5757
class MySpatialTable < ActiveRecord::Base
58-
58+
5959
# By default, use the GEOS implementation for spatial columns.
6060
self.rgeo_factory_generator = RGeo::Geos.method(:factory)
61-
61+
6262
# But use a geographic implementation for the :latlon column.
6363
set_rgeo_factory_for_column(:latlon, RGeo::Geographic.spherical_factory)
64-
64+
6565
end
6666

6767
Now you can interact with the data using the RGeo types:

0 commit comments

Comments
 (0)