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

Fixes #54 - Apply connection configuration #56

Merged

Conversation

lorint
Copy link
Collaborator

@lorint lorint commented Jul 19, 2023

This is pursuant to issue #54 identified by @tmimura39 regarding applying connection configuration. Tomohiko indicates:

It seems that various settings including sql_mode are not applied correctly because configure_connection is not executed.
...
trilogy applies the default sql_mode.

As such, here is a fix which strives to adhere as closely as possible to how connection configuration behaviour is implemented in Rails 7.1.

@lorint lorint force-pushed the apply_connection_configuration branch from 1764b9e to b654761 Compare July 19, 2023 09:27
@lorint lorint linked an issue Aug 6, 2023 that may be closed by this pull request
@bensheldon bensheldon merged commit 4f7b8d7 into trilogy-libraries:main Aug 12, 2023
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.

sql_mode specification is not applied in ActiveRecord v7.0.6
2 participants