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
Ruby 2.7 introduced Enumerable#filter_map that allows elements of an
enumerable block to be transformed and remove falsy results. This commit
updates all instances of collect/map { ... }.compact with filter_map.
This was identified by the Rubocop Performance/MapCompact cop.
0 commit comments