Added mysql2 adapter to get geokit-rails to work with the newer mysql2 gem (mysql2 gem link at bottom).
I've been using this for a few months now with Rails 2.3.x and it appears to work the same as the mysql adapter. I've seen a few issues with others not being able to get mysql2 to work (whether that be with Rails 2 or 3) and thought I'd submit a pull request. There are other forks with this same fix, too, so figured it's time to get it in the main fork.
The mysql2.rb adapter file is the same as the mysql and postgresql adapters.
Added mysql2 adapter to get geokit-rails to work with the newer mysql2 gem (mysql2 gem link at bottom).
I've been using this for a few months now with Rails 2.3.x and it appears to work the same as the mysql adapter. I've seen a few issues with others not being able to get mysql2 to work (whether that be with Rails 2 or 3) and thought I'd submit a pull request. There are other forks with this same fix, too, so figured it's time to get it in the main fork.
The mysql2.rb adapter file is the same as the mysql and postgresql adapters.
See the mysql2 repository (currently 569 followers) for information on mysql2: https://github.com/brianmario/mysql2