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

AnyFixture: multiple databases support #240

Open
palkan opened this issue Mar 21, 2022 Discussed in #239 · 0 comments
Open

AnyFixture: multiple databases support #240

palkan opened this issue Mar 21, 2022 Discussed in #239 · 0 comments

Comments

@palkan
Copy link
Collaborator

palkan commented Mar 21, 2022

Discussed in #239

Originally posted by hvenables March 18, 2022
Hey,

Quick question around the use of any fixture with multiple databases. I found that when i started using it for our secondary database that the fixtures weren't getting rolled back. The clean method

only seems to roll back ActiveRecord::Base and there is no config option to get it to rollback a different database.

Do you have any advice on using any fixture with a secondary database?

Thanks

Harry :)

We need to refactor the internals (the subscribers and table_cache):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant