Joined January 2015
·
Posted to
Fix undefined method `per' error on Will_Paginate and ActiveAdmin
over 1 year
ago
Just add method per(25) after each "perpagekaminari" call and it should work.
I guess kaminari has some troubles with initialization. After you will added method "per", reload page and remove this "per" method Kaminari started woks fine.
Finally I found how to fix this issue!!!
add this row after
Kaminari.configure do |config|
....
end
include Kaminari::ActiveRecordModelExtension