APIcasso
APIcasso copied to clipboard
Change pagination convention to use a gem with a better benchmark
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
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.