davidcelis/api-pagination — pull request #19 by petergoldstein (2014-10-13 19:25:06+00:00)
Title: Fix will_paginate specs

Fixes the will_paginate specs, and adds a little bit of logic to make the library complain if it can't resolve the pagination library. Specifically:

1. Moved the ENV library directly into the lib code itself
2. Added code to raise an error on an unknown paginator
3. Added a warning if the library is loaded in an environment where both kaminari and will_paginate are loaded.