Skip to content

modified the note about pagination gem order more clearer #314

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
wants to merge 2 commits into from

Conversation

lazybios
Copy link
Contributor

the #309 was due to wrong gems order, people can put pagination gem before the elasticsearch gems to avoid it. Put them in the first of Gemfile is not necessary,just keep right order will be fine.

@@ -257,7 +257,7 @@ response.records.each_with_hit { |record, hit| puts "* #{record.title}: #{hit._s
You can implement pagination with the `from` and `size` search parameters. However, search results
can be automatically paginated with the [`kaminari`](http://rubygems.org/gems/kaminari) or
[`will_paginate`](https://github.com/mislav/will_paginate) gems.
(The gems have to be added _first_ in your Gemfile, or loaded first in your application.)
(The pagination gem must be added brfore the elasticsearch gems in your Gemfile, or loaded first in your application.)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that makes sense! Can you just correct the typo in before? :)

@lazybios
Copy link
Contributor Author

Sorry for my carelessness, I have corrected it

@karmi
Copy link
Contributor

karmi commented Jan 14, 2015

@lazybios Great, can you also please sign the CLA so I can merge it?

@lazybios
Copy link
Contributor Author

That's ok ! I have signed the agreement and verified it. :)

@karmi karmi closed this in eff7642 Jan 14, 2015
@karmi
Copy link
Contributor

karmi commented Jan 14, 2015

Thanks!, merged.

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

Successfully merging this pull request may close these issues.

2 participants