Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
koic merged 1 commit into rubocop:master from crespire:crespire/enum-syntax-update
Aug 1, 2025
Merged

Conversation

@crespire
Copy link
Contributor

@crespire crespire commented Dec 9, 2024
edited
Loading

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

bbenno reacted with thumbs up emoji
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!

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
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.

crespire reacted with heart emoji

@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

Reviewers

@pirj pirj pirj approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /