Skip to content

Fix Rails 6.1 incompatibility by joining with through_table only if it exists#1

Merged
fpjoe merged 1 commit into
masterfrom
fix-rails-6-1-incompatibility
Apr 4, 2023
Merged

Fix Rails 6.1 incompatibility by joining with through_table only if it exists#1
fpjoe merged 1 commit into
masterfrom
fix-rails-6-1-incompatibility

Conversation

@fpjoe
Copy link
Copy Markdown

@fpjoe fpjoe commented Mar 30, 2023

Fix Rails 6.1 incompatibility by joining with through_table only if it exists.

With Rails 6.1 joins args are no longer compacted so a nil value for joins raises an error. See diogob#48 for same fix to main repo.

This PR is to fix the Sofar Sounds fork so that this gem can be used immediately with Rails 6.1. When the fix is made in master in the main repo, Sofar Sounds can point back to the main repo again and stop using this fork.

@fpjoe fpjoe merged commit 4b39788 into master Apr 4, 2023
@fpjoe fpjoe deleted the fix-rails-6-1-incompatibility branch April 4, 2023 13:42
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.

1 participant