Skip to content

Retrieve all active record objects matching results. #215

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

Closed
ekampp opened this issue Aug 20, 2014 · 3 comments
Closed

Retrieve all active record objects matching results. #215

ekampp opened this issue Aug 20, 2014 · 3 comments

Comments

@ekampp
Copy link

ekampp commented Aug 20, 2014

Hi there.

Searching for a bunch of record gives me about 2000 results (response.results.total), which is right. Now I'd like to instantiate all of them to real AR objects, but running response.records only returns 10 results. How do I get the rest of the objects?

I have read through the documentation, but it seems this should be there somewhere, so I might be missing something.

Cheers,

Emil

@karmi
Copy link
Contributor

karmi commented Aug 20, 2014

Did you find the size parameter in the documentation?

@ekampp
Copy link
Author

ekampp commented Aug 20, 2014

Nope, clearly I didn't, Thanks! And sorry for the slightly dumb question.

@ekampp ekampp closed this as completed Aug 20, 2014
@karmi
Copy link
Contributor

karmi commented Aug 20, 2014

No worries!, the features are quite rich :) (Actually, I think I'll add this point to the README, it will fit the narrative.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants