Rails/StrongParametersExpect
errors when permit
does not have parameters
#1423
Labels
bug
Something isn't working
Dependabot tried to update rubocop-rails and I've notice this error
I've also checked the main branch
Expected behavior
Do not raise an error
Actual behavior
Raises an error
Steps to reproduce the problem
create a file under
app/controllers/test.rb
RuboCop version
Mention the following information in the issue report:
1.70.0 (using Parser 3.3.7.0, rubocop-ast 1.37.0, analyzing as Ruby 2.7, running on ruby 3.3.6) [x86_64-darwin24]
Log
The text was updated successfully, but these errors were encountered: