-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
Don't know for certain if this is a mongoid issue but here goes. With 2.0.2 I got these results:
>> Article.page(1).per(5).all.length => 5 >> Article.page(1).per(5).all.size => 5
with 2.1.5:
>> Article.page(1).per(5).all.size => 294 >> Article.page(1).per(5).all.length => 294 >> Article.page(1).per(5).all.to_a.length => 5
Is this now expected behaviour?
Latest version of kaminari - also tried its HEAD of master.