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
Fixesrubocop#1429
Use a recursive approach to autocorrect nested parameters
- Top level hash keys do not get replaced by `[]`
- Hash values that are hashes get replaced by `[]`
- Arrays get replaced by double brackets `[[]]`
*[#1429](https://github.com/rubocop/rubocop-rails/issues/1429): Fix a wrong autocorrect for `Rails/StrongParametersExpect` when hashes and arrays are present. ([@chaadow][])
0 commit comments