fractaledmind / activeset

A toolkit for working with enumerable sets.
MIT License
2 stars 1 forks source link

Don't make an ActiveRecord call in the guard clause checking if the … #8

Closed fractaledmind closed 6 years ago

fractaledmind commented 6 years ago

…set is smaller than the pagesize and the page requested is greater than 1; use a simple Enumerable call to avoid an odd low-level AR bug when counting complex queries