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

[Resolves #92] tenant switch raises exception on first call #95

Merged
merged 4 commits into from
Jul 16, 2020

Conversation

rpbaltazar
Copy link
Contributor

@rpbaltazar rpbaltazar commented Jul 16, 2020

Resolves #92 - when the adapter is set before the railtie is initialized the adapter class set in the thread might be incorrect. We were already invoking a subset of the reload! logic on prepare. This ensures that the reinitialize runs without any knowledge of the adapter that should be used

@rpbaltazar rpbaltazar merged commit 6611731 into development Jul 16, 2020
@rpbaltazar rpbaltazar deleted the 92-tenant-switch-raises-exception-on-first- branch July 16, 2020 17:05
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.

Tenant.switch! raises exception on first call / Postgresql
1 participant