We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi folks,
I just attempted an upgrade to Ruby to 3.2.2, and started getting the following error when starting the Heya scheduler:
app/models/heya/campaign_membership.rb:52 wrong number of arguments (given 1, expected 0)
This is the to_process scope, it is called from this line: https://github.com/honeybadger-io/heya/blob/v0.8.0/lib/heya/campaigns/queries.rb#L9
to_process
I don't know enough about Ruby 3.2 to understand why this is occuring, but hoping someone here knows?
Heya::CampaignMembership.to_process(user: nil)
The text was updated successfully, but these errors were encountered:
@rathboma I can't replicate this error. This is what I get:
Heya::CampaignMembership.to_process(user: nil) # => [] Heya::Campaigns::Queries::MembershipsToProcess.call(user: nil) # => []
Is it possible that #to_process is being overridden by something global?
#to_process
Sorry, something went wrong.
It's possible. I'll see if I can replicate with a clean project.
In case someone else has this problem. I think the explanation is here: rails/rails#46934 Rails 6.1.x ruby 3.2.x
No branches or pull requests
Hi folks,
I just attempted an upgrade to Ruby to 3.2.2, and started getting the following error when starting the Heya scheduler:
This is the
to_process
scope, it is called from this line: https://github.com/honeybadger-io/heya/blob/v0.8.0/lib/heya/campaigns/queries.rb#L9I don't know enough about Ruby 3.2 to understand why this is occuring, but hoping someone here knows?
Replication
Heya::CampaignMembership.to_process(user: nil)
The text was updated successfully, but these errors were encountered: