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 job ordering for Rails 6.1 #174

Merged
merged 1 commit into from
Dec 2, 2020
Merged

Conversation

morgoth
Copy link
Collaborator

@morgoth morgoth commented Dec 2, 2020

In Rails 6.1 it throws error:
Query method called with non-attribute argument(s): "COALESCE(scheduled_at, created_at) DESC"
It was printing a warning about it in Rails 6.0.

Sorry for not including spec - I had issues with setting up system specs.

BTW, Rails 6.1 is around the corner https://weblog.rubyonrails.org/2020/12/1/Rails-6-1-rc2-release/ so I guess we could extend appraisal to 6.1

In Rails 6.1 it throws error:
`Query method called with non-attribute argument(s): "COALESCE(scheduled_at, created_at) DESC"`
It was printing a warning about it in Rails 6.0.
Copy link
Owner

@bensheldon bensheldon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@morgoth thank you for catching this!

@bensheldon bensheldon merged commit 01e4b38 into bensheldon:main Dec 2, 2020
@bensheldon bensheldon changed the title Fix job ordering. Fix job ordering for Rails 6.1 Dec 2, 2020
@bensheldon
Copy link
Owner

This has been released as v1.3.4

@bensheldon
Copy link
Owner

@morgoth I completely understand about System Specs; they can be brittle (system specs are currently blocking #167 too). It would be possible to also add controller/request specs that would likely be more resilient, though less comprehensive.

@bensheldon
Copy link
Owner

I've added an appraisal for Rails 6.1 rc2 in #175 🎉

@bensheldon bensheldon added the bug Something isn't working label Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants