You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When upgrading my app to Rails 7.2.0rc1, I got this deprecation warning:
DEPRECATION WARNING: Defining enums with keyword arguments is deprecated and will be removed
in Rails 8.0. Positional arguments should be used instead:
Is your feature request related to a problem? Please describe.
When upgrading my app to Rails 7.2.0rc1, I got this deprecation warning:
See: https://sparkrails.com/rails-7/2024/02/13/rails-7-deprecated-enum-with-keywords-args.html
And: rails/rails#50987
Describe the solution you'd like
That would be cool to have a cop that ensure the new syntax is used:
Thank you in advance!
And thanks a lot for your awesome work on Rubocop 🙏
The text was updated successfully, but these errors were encountered: