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

Remove active_record_union dependency #67

Merged
merged 4 commits into from
Dec 19, 2024
Merged

Conversation

JuzerShakir
Copy link
Owner

This resolves this issue.

We used refinements to extend the ActiveRecord::Relation class and add a union method to it which performs SQL union to our queries.

Since the dependency we were using is no longer compatible with >= Rails v8, it was time to implement our logic for the union method.

After merging this PR, this should be able to be deployed successfully in production.

@JuzerShakir JuzerShakir added bug Something isn't working dependencies Pull requests that update a dependency file production labels Dec 19, 2024
@JuzerShakir JuzerShakir merged commit 3c4ed71 into master Dec 19, 2024
1 check passed
@JuzerShakir JuzerShakir deleted the active_record_union branch January 2, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file production
Projects
None yet
Development

Successfully merging this pull request may close these issues.

active_record_union compatible with Rails 8?
1 participant