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
IdentifiableCollection#find_all takes one argument, while Enumerable#find_all takes a block.
This is confusing, because even though IdentifiableCollection is Enumerable, not all of Enumerable’s methods behave as expected.
Suggestion: allow IdentifiableCollection#find_all to also be called with a block and no arguments, which would make it behave like Enumerable#find_all.
The text was updated successfully, but these errors were encountered:
IdentifiableCollection#find_all
takes one argument, whileEnumerable#find_all
takes a block.This is confusing, because even though
IdentifiableCollection
isEnumerable
, not all ofEnumerable
’s methods behave as expected.Suggestion: allow
IdentifiableCollection#find_all
to also be called with a block and no arguments, which would make it behave likeEnumerable#find_all
.The text was updated successfully, but these errors were encountered: