-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Does the gem support multiple databases? #126
Comments
Hello @greytape , Thank you for letting me know about this issue! I'll do my best to have a look as soon as possible and fix this! Or maybe you would like to investigate and contribute with the fix? |
@djezzzl - many thanks for the quick response. I'll leave the investigation to you if that's ok, afraid I wouldn't know where to start! |
Amazing, thanks for the quick response. Have checked v.1.2.2 and the command now works fine with our codebase! 👍 |
Hi,
Gem looks great, and I'd love to try it out, but I'm getting the error below. This suggests that the gem is having trouble with more than one database in
database.yml
, as it is looking for a table on the primary database that is only available on the secondary database. Is this expected behaviour, as multiple databases are not supported?(In log extract below I have changed the names of the actual primary database to
primary_database
and the actual table totable_on_secondary_database
for clarity)In the model that is throwing the error, we have the database defined as follows (names changed for clarity):
Thanks!
The text was updated successfully, but these errors were encountered: