You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -149,6 +149,8 @@ Following are the options understood by the adapter:
149
149
constraint is of limited use for geography columns.
150
150
-`:has_z` -- Specify that objects in this column include a Z coordinate.
151
151
Default is false.
152
+
-`:has_m` -- Specify that objects in this column include an M coordinate.
153
+
Default is false.
152
154
153
155
To create a PostGIS spatial index, add `using: :gist` to your index:
154
156
@@ -248,9 +250,7 @@ record.shape1 = p2 # shape1 uses a flat geos factory, so it
248
250
record.save
249
251
```
250
252
251
-
If, however, you attempt to set the value to the wrong type-- for example,
252
-
setting a linestring attribute to a point value, you will get an exception
253
-
from Postgres when you attempt to save the record.
253
+
If you attempt to set the value to the wrong type, such as setting a linestring attribute to a point value, you will get an exception from the database when you attempt to save the record.
254
254
255
255
```rb
256
256
record.path = p2 # This will appear to work, but...
0 commit comments