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 Rails 7 connection handling #1

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

doncan-orozco-io
Copy link

@doncan-orozco-io doncan-orozco-io commented May 29, 2023

Original PR from @calmyournerves found at rails-on-services#194
Code extracted from that PR to fix issue in this fork

Fix this issue, where method connected_to from active record throws ArgumentError (unknown keyword: :database):

…atch

Only include connection handling monkey patch for ActiveRecord => 6

Add specs for the connection handling monkey patch

Remove rubocop offences
@memoxmrdl memoxmrdl merged commit fca993e into development Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants