Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Using empty array with _any gives all results #148
This may entirely by my ignorance of searchlogic.
Giving an empty array to id_is_any() returns all rows. Seems like it should return 0 rows.
ruby-1.8.7-p330 :038 > current_account.groups.id_is_any( [ ] ).ascend_by_name.count
_Using is works correctly.
ruby-1.8.7-p330 :040 > current_account.groups.id_is( [ ] ).ascend_by_name.count