activerecord-mysql2spatial-adapter icon indicating copy to clipboard operation
activerecord-mysql2spatial-adapter copied to clipboard

Use with Makara and other Connection Proxies

Open jdalt opened this issue 6 years ago • 0 comments

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 true? Is there a simple way to use both connections adapters?

It doesn't seem that defining a new connection adapter is strictly necessary as I know of another gem that adds new data types to ActiveRecord but maintains the same adapter - https://github.com/iangreenleaf/native_enum. This does appear to come at some cost of complexity in the Gem file though.

jdalt avatar Apr 24 '19 21:04 jdalt