From 77ffadf166b9bc02b8e66949b5157ebf8375ec35 Mon Sep 17 00:00:00 2001 From: hellekin Date: Tue, 6 Oct 2020 18:45:11 +0200 Subject: User Kaminari gem for pagination Since we're dealing with lots of resources, we need a way to handle pagination. This gem seems to be the new kid on the block and doing things right, including pagination by default an I18n support. Let's see. Kaminari: https://github.com/kaminari/kaminari --- Gemfile.lock | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Gemfile.lock') diff --git a/Gemfile.lock b/Gemfile.lock index 7a464f2..6b28c92 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -83,6 +83,18 @@ GEM jbuilder (2.10.1) activesupport (>= 5.0.0) json (2.3.1) + kaminari (1.2.1) + activesupport (>= 4.1.0) + kaminari-actionview (= 1.2.1) + kaminari-activerecord (= 1.2.1) + kaminari-core (= 1.2.1) + kaminari-actionview (1.2.1) + actionview + kaminari-core (= 1.2.1) + kaminari-activerecord (1.2.1) + activerecord + kaminari-core (= 1.2.1) + kaminari-core (1.2.1) listen (3.2.1) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) @@ -203,6 +215,7 @@ DEPENDENCIES byebug discourse_api jbuilder (~> 2.7) + kaminari listen (~> 3.2) pg (>= 0.18, < 2.0) pry -- cgit v1.2.3