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

Fix NameError from nulldb #34

Merged
merged 2 commits into from
Dec 15, 2023
Merged

Fix NameError from nulldb #34

merged 2 commits into from
Dec 15, 2023

Conversation

adamstegman
Copy link
Member

nulldb is only loaded in the tests, so using its names in library code raised an exception:

NameError: uninitialized constant ActiveRecord::ConnectionAdapters::NullDBAdapter

We can instead key off the method that nulldb doesn't implement to fix the same issue as #32.

nulldb is only loaded in the tests, so using its names in library code raised an exception:

```
NameError: uninitialized constant ActiveRecord::ConnectionAdapters::NullDBAdapter
```

We can instead key off the method that nulldb doesn't implement to fix the same issue as #32.
@adamstegman adamstegman requested a review from a team December 15, 2023 21:11
@adamstegman adamstegman merged commit abd18d0 into main Dec 15, 2023
@adamstegman adamstegman deleted the EE-1972/fix-nulldb-error branch December 15, 2023 22:41
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