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

Create table in same database as superclass #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joelind
Copy link

@joelind joelind commented Feb 13, 2024

Before this change, using with_model with a superclass that connects to a database other than the database configured for ActiveRecord::Base would end up creating the table in the wrong database.

@mateuscruz
Copy link

@nertzy any chance we could have this reviewed and merged? It's an important change to properly work with multiple database connections introduced by Rails 6.

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