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 Rails 8.0 deprecation #51

Merged
merged 4 commits into from
Jan 24, 2025
Merged

Fix Rails 8.0 deprecation #51

merged 4 commits into from
Jan 24, 2025

Conversation

rzane
Copy link
Contributor

@rzane rzane commented Jan 24, 2025

I configured deprecations to raise exceptions.

Once I did that, I had to suppress deprecations from enqueue_after_transaction_commit = :always and enqueue_after_transaction_commit = :never.

Those values are still supported, but deprecated. Rails 8.0 now expects true or false. I've updated delayed to ensure that enqueue_after_transaction_commit is not set to true.

@rzane rzane changed the title Fix Rails 8.0 deprecations Fix Rails 8.0 deprecation Jan 24, 2025
@rzane rzane requested a review from smudge January 24, 2025 20:38
Copy link
Member

@smudge smudge left a comment

Choose a reason for hiding this comment

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

domain LGTM && platform LGTM

@smudge smudge merged commit f0fcc71 into main Jan 24, 2025
53 checks passed
@smudge smudge deleted the rzane/deprecations branch January 24, 2025 21:10
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