#1446 confirmed
Deleted User

Unexpected behavior when count is used with -

Reported by Deleted User | November 12th, 2010 @ 08:18 PM | in 1.1.1

suppose a and b are collections return by finders on a class A:

suppose (a - b).count == 5

suppose we have a chained finder which returns only a subset of items of A:

(a - b).my_filter.count should be <= (a - b).count, but it is actually larger.

See the test case here:

https://gist.github.com/3569c20a3bf30f269699

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Pages