APIcasso icon indicating copy to clipboard operation
APIcasso copied to clipboard

Change pagination convention to use a gem with a better benchmark

Open ErvalhouS opened this issue 7 years ago • 1 comments

Performance will always be an issue when it comes to APIs.

With that in mind the project should adapt to the ever changing nature of web development and it's conventions.

Suggestion here is to refactor the pagination feature to use a gem with better benchmarks: Pagy

ErvalhouS avatar Nov 16 '18 22:11 ErvalhouS

Better yet would be to have a configuration option where you choose which library to use pagination from. Options would be: :will_paginate, :kaminari or :pagy. This way it would enable to existing project to avoid having an extra dependency if any of those gems are already in use.

ErvalhouS avatar Nov 22 '18 17:11 ErvalhouS