Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Conversation

@thaisonle
Copy link
Contributor

The geometrycollection migration method inserts the column as a geometry column instead of a geography column. This causes saves to fail since the insert is trying to save a geography instead of a geometry.

The GeometryCollection class does extend the Geometry class which implements the GeometryInterface that is checked in the if statement to skip model attributes that are not geometries.

The geometrycollection migration method inserts the column as a geometry column instead of a geography column. This causes saves to fail since the insert is trying to save a geography instead of a geometry. 

The GeometryCollection class does extend the Geometry class which implements the GeometryInterface that is checked in the if statement to skip model attributes that are not geometries.
phaza added a commit that referenced this pull request Nov 11, 2015
Fixed PostgisTrait to handle GeometryCollection correctly
@phaza phaza merged commit c0873d8 into mstaack:master Nov 11, 2015
@phaza
Copy link
Collaborator

phaza commented Nov 11, 2015

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants