Skip to content

Conversation

oieioi
Copy link
Contributor

@oieioi oieioi commented Jan 14, 2022

Fix undefined method error when spatial column does not have srid. This error occurs when the following gem is used.

https://github.com/sebastianiorga/activerecord-mysql2spatial-adapter
(forked from https://github.com/rgeo/activerecord-mysql2spatial-adapter)

Unable to annotate app/models/location.rb: undefined method `srid' for #<ActiveRecord::ConnectionAdapters::Mysql2SpatialAdapter::SpatialColumn:...

@oieioi oieioi changed the title Fix undefined method error when spatial columns does not have srid Fix undefined method error when spatial column does not have srid Jan 19, 2022
@ctran ctran added this to the v3.2.0 milestone Feb 1, 2022
@ctran ctran merged commit ecf70d8 into ctran:develop Feb 1, 2022
@ctran
Copy link
Owner

ctran commented Feb 1, 2022

Thanks!

@oieioi oieioi deleted the fix/srid branch February 2, 2022 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants