-
-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method `results_in_batches' #300
Comments
@obarth good catch! Can you submit a PR to fix this issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If one defines the page_size of a result set smaller than 5 of gets the following error message:
NoMethodError: undefined method `results_in_batches' for false:FalseClass
Example:
Sometimes I get the same error also on page_sizes that are larger than the result set would be.
For example if I set the page_size to 50 but the result set only contains 20 entries. But the error does not show up every time. Only for number smaller 5 it fails every time.
The text was updated successfully, but these errors were encountered: