From 0861c75f3886508eb501ce68dc4bf36db1ae4999 Mon Sep 17 00:00:00 2001 From: jomo Date: Sun, 21 Sep 2014 22:50:02 +0200 Subject: [PATCH] add kaminari gem for pagination --- Gemfile | 3 ++- Gemfile.lock | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index b4a7b11..be45cb0 100644 --- a/Gemfile +++ b/Gemfile @@ -8,11 +8,12 @@ gem 'therubyracer' gem 'bcrypt-ruby' # To use ActiveModel's has_secure_password gem 'sanitize' gem 'redcarpet' -gem 'hirb' #pretty console output +gem 'hirb' # pretty console output gem 'rb-readline' gem 'rest-client' gem 'activerecord-session_store' gem 'highlight_js-rails' +gem 'kaminari' # pagination # Gems used only for assets and not required # in production environments by default. diff --git a/Gemfile.lock b/Gemfile.lock index b86c372..c3aa604 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -69,6 +69,9 @@ GEM railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) json (1.8.1) + kaminari (0.16.1) + actionpack (>= 3.0.0) + activesupport (>= 3.0.0) kgio (2.9.2) libv8 (3.16.14.3) mail (2.5.4) @@ -170,6 +173,7 @@ DEPENDENCIES highlight_js-rails hirb jquery-rails + kaminari mysql2 rails (= 4.1.0) rails-erd