Skip to content

Update Enum syntax #362

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

Merged
merged 1 commit into from
Aug 1, 2025
Merged

Conversation

crespire
Copy link
Contributor

@crespire crespire commented Dec 9, 2024

Updates the Enum section to use new syntax that was introduced in Rails 7.

Verified

This commit was signed with the committer’s verified signature.
janhohenheim Jan Hohenheim
Updates the enum to show syntax that was introduced in Rails 7.
Copy link
Member

@pirj pirj left a comment

Choose a reason for hiding this comment

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

Thank you!

@pirj
Copy link
Member

pirj commented Dec 9, 2024

@koic do you think if cops are aligned with this new style?

Related: #361

@pirj pirj requested a review from a team August 1, 2025 15:38
@koic
Copy link
Member

koic commented Aug 1, 2025

When a new API is supported only, as with enum in this PR, I think it's worth updating the style guide examples accordingly.

@koic koic merged commit ce34a93 into rubocop:master Aug 1, 2025
3 checks passed
@crespire crespire deleted the crespire/enum-syntax-update branch August 1, 2025 20:36
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.

None yet

3 participants