elasticsearch/elasticsearch-rails — pull request #42 by joker1007 (2014-03-14 16:45:47+00:00)
Title: Fix behavior when use `#limit` and `#page` at ...

at the same time.

previous:
When klass.default_per_page is 25,
```ruby
response.limit(35).page(3)
# => :size is back to 25, :from is 25 * 2

response.page(3).limit(35)
# => :size is 35, but :from is 25 * 2
```

after:
```ruby
response.limit(35).page(3)
# => :size is 35, :from is 35 * 2

response.page(3).limit(35)
# => :size is 35, :from is 35 * 2
```

more safety, and more intuitive.