#1259 confirmed
Robert Sköld

Has many IN query gives wrong results

Reported by Robert Sköld | April 30th, 2010 @ 06:38 PM | in 1.1.1

Entry.all( :tags => Tag.first ).size should equal Entry.all.select {|e| e.tags.include? Tag.first }.size

A complete example to illustrate the issue can be found at: https://gist.github.com/bdc83b7c7f8797517f03

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 »