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 errors with Rails 6.1 and Ruby 3.0 (#778) #13

Closed
wants to merge 1 commit into from

Conversation

jefferyFarlyProvencher
Copy link
Collaborator

Ruby 3.0 no longer expands option hashes to keyword arguments so where Rails has an explicit **options it now fails with an ArgumentError. This PR also fixes an issue with Rails 6.1.3 where we accidentally broke compatibility by changing how scope_for_create was built.

Ruby 3.0 no longer expands option hashes to keyword arguments so where Rails has an explicit `**options` it now fails with an `ArgumentError`. This PR also fixes an issue with Rails 6.1.3 where we accidentally broke compatibility by changing how `scope_for_create` was built.
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