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

Add load hook for ActiveRecord::ConnectionAdapters::Mysql2Adapter #48012

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

fatkodima
Copy link
Member

I wanted to extend postgres and mysql adapters with additional functionality, but only when they are used in the project, so avoiding to manually require it to be able to extend. But noticed, that Mysql2Adapter does not have a load hook, compared to PostgreSQLAdapter and SQLite3Adapter. This PR fixes that.

@guilleiguaran guilleiguaran merged commit 5beb062 into rails:main Apr 21, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants