Doing count on RDBMS can be painfully slow for larger datasets. Memoizing takes care of the problem.

Memoizing doesn't seem to have a negative effect, since we should only care about how many records there were in the DB when we did the initial count query.
page_entries_info view helper

Renders a helpful message with numbers of displayed vs. total entries.
Ported from mislav/will_paginate

Basic usage:
  <%= page_entries_info @posts %>
  # => Displaying posts 6 - 10 of 26 in total
address issue #137 by adding #each_relevant_page, an iterator that only visits pages in the inner or outer windows, and Kaminari::Helpers::Paginator::Windows (should be renamed) that does the heavy lifting
replaced length with count in total_count
detect whether DISTINCT ON is being used
use #length for any query using just DISTINCT instead of DISTINCT ON only
Let one override the rel= attribute
make it to work well with Sinatra/Padrino, thanks to #161 & #174
rename sinatra_helpers, add bacis tests
support travis-ci
Merge pull request #181 from hsbt/travis

support travis-ci
rename Relation#shift to padding

bacause this method name was turned out to be stubbing out Array#shift
cut off full path requires
a workaround to uniq order_values because some 3.1 versions duplicates order_values

see: https://github.com/rails/rails/issues/3923
cut off redundant platforms
Merge branch 'sinatra-helper' of https://github.com/udzura/kaminari into udzura-sinatra-helper

Conflicts:
	kaminari.gemspec
from Steak to Capybara
it is not required to require by full path. Let's trust the LOAD_PATH
duplicated require
spec/acceptance => spec/requests