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
Resolves: rubocop/rubocop-rails#1048.
This PR makes `Style/RedundantFilterChain` aware of `select.present?`
when `AllCops/ActiveSupportExtensionsEnabled: true`.
Resolves: rubocop/rubocop-rails#1048.
This PR makes `Style/RedundantFilterChain` aware of `select.present?`
when `AllCops/ActiveSupportExtensionsEnabled: true`.
Actual behavior
If I have the code:
I run rubocop and get offenses:
but if I have the following code:
I have no offences:
Expected behavior
I expected to receive the following code:
The text was updated successfully, but these errors were encountered: