Affects Version/s: None
Fix Version/s: 3.1.3
I'm trying to get 5 items from my db
Shop::CartItems.limit(5).count #=> 21
It only returns 5 if I say lazy
Shop::CartItems.limit(5).lazy.count #=> 5
I read something about count taking on a boolean, but I couldn't get that to work and I didn't find anything in the docs either.
Should this work like this? Am I doing something wrong?