Skip to content

Simply adds mysql2 adapter compatibility to the adapter extension and import module - #19

Open
soey wants to merge 9 commits into
zdennis:masterfrom
ubilabs:master
Open

Simply adds mysql2 adapter compatibility to the adapter extension and import module #19
soey wants to merge 9 commits into
zdennis:masterfrom
ubilabs:master

Conversation

@soey

@soey soey commented Aug 1, 2012

Copy link
Copy Markdown

This comes in useful when using mysql2 Gem with Rails 2.x. (You can't use activerecord-import gem in this case). The changes are very straightforward and could easily be also taken over to the other ar-extension modules. Just use the dynamically set MYSQL_ADAPTER_CLASS for the mixins instead of ActiveRecord::ConnectionAdapters::MysqlAdapter directly.

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