Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Consistent collection queries #5

Open
SofianO opened this issue Sep 8, 2015 · 0 comments
Open

Consistent collection queries #5

SofianO opened this issue Sep 8, 2015 · 0 comments

Comments

@SofianO
Copy link

SofianO commented Sep 8, 2015

When calling any? on an empty Horza::Entities::Collection, the result returns false. However when the collection has elements in it the following error is raised
LocalJumpError: no block given (yield)

When calling blank? on a collection that contains elements, the result is correctly false. However when calling blank? on an empty collection the result is false also.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant