Skip to content

Fix undefined method error when spatial column does not have srid #920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2022

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