activerecord-mysql2spatial-adapter
activerecord-mysql2spatial-adapter copied to clipboard
ActiveRecord connection adapter for MySQL Spatial Extensions, based on mysql2 and rgeo
Hi @januszm - I'll be updating a monolithic app from Rails 4.1 to 4.2 and eventually all the way to Rails 5. The app makes heavy use of this gem,...
Hello, Seems that this does not work with rails 5 and Active Record 5, is someone working on updating this ? Thank you
It was easy to miss the adapter value change or 'mysql2spatial' to the database configuration file as it didn't stand out. Please add this for those developers that don't always...
…n and after mysql5.7
Because this gem defines a new connection adapter, it appears that it cannot be used with connection proxies like https://github.com/taskrabbit/makara that also define another adapter based off of mysql2. Is...
This PR intends to fix #12. It starts with a reapplication of the changes in https://github.com/fjl82/activerecord-mysql2spatial-adapter to current master. To do: - fix tests - upgrade mysql2 dependency to 0.4.*,...
Under Ruby 2.4.1, four tests fail with e.g. ``` > bundle exec rake test Loaded testcase test/tc_basic.rb Loaded testcase test/tc_spatial_queries.rb Run options: --seed 56062 # Running: /Users/dave/.rbenv/versions/2.4.1/gemsets/activerecord-mysql2spatial-adapter/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:762: warning: constant ::Fixnum...
See http://rgeo.github.io/activerecord-mysql2spatial-adapter/ Should be removed or updated. If updated, gemspec homepage property should be set to point to it.
Tested on MySQL 5.7.11 on OSX force geometry WKB to be generated little endian byte order since mysql seems to have a bug: https://dev.mysql.com/worklog/task/?id=1076 Quote: http://postgis.refractions.net/pipermail/postgis-users/2003-June/002651.html - The MySQL code...