Skip to content
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

Database.yml file update #10

Closed
NeMO84 opened this issue Mar 28, 2014 · 1 comment
Closed

Database.yml file update #10

NeMO84 opened this issue Mar 28, 2014 · 1 comment

Comments

@NeMO84
Copy link

NeMO84 commented Mar 28, 2014

No documentation supplied that specifies that the database.yml file's adapter value should be set to 'mysql2spatial'. I was able to get rails 4.0.4 working by applying this fix as I was running into issues point column could not be set correctly because the 'POINT(X Y)' syntax was generating a zero value on the column. And other minor nuances.

Identified here: http://stackoverflow.com/questions/21799383/rgeo-mysql-and-spatial-index-error

@NeMO84
Copy link
Author

NeMO84 commented Mar 28, 2014

If I could I would eat my words! Sorry, I apologize for not being more thorough before creating this issue. I did find the reference for the 'mysql2spatial' update to the database configuration file in the README.rdoc . But it didn't stand out and I assume other developers may also run into the same problem. So please take my very minor pull request to help with that.

#11

@NeMO84 NeMO84 mentioned this issue Mar 28, 2014
@januszm januszm closed this as completed Jun 22, 2017
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

No branches or pull requests

2 participants