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

Unnecessary modules within ActiveRecord namespace #12

Open
ebeigarts opened this issue Nov 9, 2015 · 1 comment
Open

Unnecessary modules within ActiveRecord namespace #12

ebeigarts opened this issue Nov 9, 2015 · 1 comment

Comments

@ebeigarts
Copy link

If project doesn't have mysql2 loaded it creates Mysql2Adapter as a module and causes issues

>> ActiveRecord::ConnectionAdapters::Mysql2Adapter
SchemaPlus::Views::ActiveRecord::ConnectionAdapters::Mysql2Adapter

In projects that have mysql2 it works correctly:

>> ActiveRecord::ConnectionAdapters::Mysql2Adapter
ActiveRecord::ConnectionAdapters::Mysql2Adapter < ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter
@ronen
Copy link
Member

ronen commented Nov 10, 2015

@ebeigarts Thanks for the report. Will try to look info it as soon as I can, but I'm pretty swamped right now. (PR's welcome!)

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