Error will paginate

I could have used paginate whose information is provide

By ruby on rails tutorial

f:id:taiga0519start:20200115223757p:plain


 

tai awatanabe 
start-cloned-cl 
a inate error 
start-cloned-cl D DIVER Rails01 Ruby on R 
x 
start-cloned-3 + v 
Rails 5.1 
5k ON 
333) 
CODE SAMPLE 
Rails F 
x 
https:// 
5. l#sec-pagination 
I-JA B 10.45: indexA Y epaginationE(E 
app/ views/ users/index. h tm1. erb 
provide(:title, 'All users') %> 
<h1>All users</hl> 
wi I l_paginate 
<ul class="users"> 
@users. each do luserl %> 
gravatar_for user, size: 
I ink_to user. name, user 
<% end %> 
</ul> 
wi I l_paginate 
50 
CDwi11_paginateYOYy & (a, users en —O)ZI 
21 
2019/05/05 
$ rai Is console 
>> User. paginate (page: 1) 
User Load (1. SELECT 
(1. 7ms) SELECT COUNT 
=> i veRecord: : Rel at i on 
10.36), 
" LIMIT 30 OFFSET O 
"users". * FROM " 
FROM "users" 
id: 1, 
users

 

Above the picture 'will paginate 'is not function for my cloud9

And I had been looked during two days to find out the solution although .

Today I finally found out my book whose title is ruby on rails 5 published by real engineer and then

The solution is instead of using will paginate ,

I used gem is 'gem 'kaminari' which was function for my cloud 9

Remember finding way , I should be more care about time .