Skip to content

Conversation

@mattparlane
Copy link

Hi there...

I noticed that when calling #count on a result set and then calling #each_hash (or #each), it would appear that the set was empty. This PR is my solution to that, and I'm currently using it in production.

Let me know what you think!

Thanks,

Matt

This avoids the set appearing to be empty if the user tries iterating after performing a count.
@tmtm tmtm force-pushed the master branch 3 times, most recently from a05cc94 to b367feb Compare October 31, 2021 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant